finalize initial bootstrap tasks
This commit is contained in:
parent
f513725182
commit
5504c67d3c
16
ansible/playbooks/adhoc-reboot.yml
Normal file
16
ansible/playbooks/adhoc-reboot.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: Reboot hosts
|
||||
hosts: "{{ host }}"
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Reboot machine
|
||||
reboot:
|
||||
register: reboot_register
|
||||
|
||||
- name: Verify reboot
|
||||
assert:
|
||||
that:
|
||||
- "reboot_register.rebooted"
|
||||
success_msg: "Machine rebooted successfully."
|
||||
fail_msg: "Machine failed to boot: {{ ansible_hostname }}"
|
@ -63,6 +63,7 @@ if [[ "${HOSTNAME}" =~ "storage" ]]; then
|
||||
let hostpart='7'
|
||||
fi
|
||||
|
||||
if [[ ! -z "${iface_mgmt}" ]]; then
|
||||
cat << EOF > ifcfg-br-mgmt
|
||||
BOOTPROTO=none
|
||||
DEVICE=br-mgmt
|
||||
@ -81,7 +82,7 @@ ONBOOT=yes
|
||||
BRIDGE=br-mgmt
|
||||
HWADDR=$(ip link show ${iface_mgmt} | awk '/link\/ether/{print $2}')
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
if [[ "${HOSTNAME}" =~ "storage" || ! -z "${iface_storage}" ]]; then
|
||||
|
||||
@ -106,6 +107,7 @@ EOF
|
||||
|
||||
fi
|
||||
|
||||
if [[ ! -z "${iface_vxlan}" ]]; then
|
||||
cat << EOF > ifcfg-br-vxlan
|
||||
BOOTPROTO=none
|
||||
DEVICE=br-vxlan
|
||||
@ -124,4 +126,4 @@ ONBOOT=yes
|
||||
BRIDGE=br-vxlan
|
||||
HWADDR=$(ip link show ${iface_vxlan} | awk '/link\/ether/{print $2}')
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
@ -1 +1,3 @@
|
||||
compute1
|
||||
infra1
|
||||
storage1
|
||||
|
@ -28,21 +28,78 @@
|
||||
ansible.builtin.systemd:
|
||||
name: firewalld.service
|
||||
masked: yes
|
||||
enabled: no
|
||||
enabled: no
|
||||
force: yes
|
||||
state: stopped
|
||||
|
||||
|
||||
- name: Set SELinux to permissive
|
||||
selinux:
|
||||
ansible.posix.selinux:
|
||||
policy: targeted
|
||||
state: permissive
|
||||
|
||||
- name: Ensure packages are upgraded
|
||||
dnf:
|
||||
ansible.builtin.dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: Disable SSH Agent Forwarding
|
||||
lineinfile:
|
||||
dest: /etc/ssh/sshd_config
|
||||
regexp: '^.*AllowAgentForwarding'
|
||||
line: 'AllowAgentForwarding no'
|
||||
notify:
|
||||
- restart_sshd
|
||||
|
||||
- name: Copy interface.sh script to host
|
||||
ansible.builtin.copy:
|
||||
src: 'files/interfaces.sh'
|
||||
dest: '/root/interfaces.sh'
|
||||
mode: 0744
|
||||
owner: 'root'
|
||||
group: 'root'
|
||||
tags:
|
||||
-
|
||||
|
||||
- name: Generate ifcfg files
|
||||
shell: /root/interfaces.sh
|
||||
args:
|
||||
chdir: /etc/sysconfig/network-scripts/
|
||||
creates: /etc/sysconfig/network-scripts/ifcfg-br-mgmt
|
||||
tags:
|
||||
- interfaces
|
||||
|
||||
- name: Setup Infra Nodes
|
||||
block:
|
||||
- name: Install packages
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- git-core
|
||||
- wget
|
||||
- python36
|
||||
- chrony
|
||||
- openssh-server
|
||||
- python3-devel
|
||||
- sudo
|
||||
state: latest
|
||||
- name: Clone repository
|
||||
ansible.builtin.git:
|
||||
repo: https://github.com/NeilHanlon/openstack-ansible.git
|
||||
#single_branch: yes
|
||||
dest: /opt/openstack-ansible
|
||||
version: 'feature/rocky8'
|
||||
|
||||
when: tag.find("infra") != -1
|
||||
tags: test
|
||||
|
||||
post_tasks:
|
||||
- name: Disable cloud init from future runs
|
||||
file:
|
||||
path: /etc/cloud/cloud-init.disabled
|
||||
state: touch
|
||||
mode: '0644'
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Touching run file that ansible has ran here
|
||||
file:
|
||||
path: /var/log/ansible.run
|
||||
|
@ -1,28 +1,28 @@
|
||||
dnf -y upgrade &
|
||||
|
||||
HOSTNAME="$(hostname)"
|
||||
|
||||
if [[ $(hostname) =~ infra ]]; then
|
||||
dnf -y install git-core git wget python36 chrony openssh-server python3-devel sudo
|
||||
git clone --branch feature/rocky8 --single-branch https://github.com/NeilHanlon/openstack-ansible.git /opt/openstack-ansible
|
||||
fi
|
||||
|
||||
# Always stop and mask firewalld
|
||||
systemctl stop firewalld
|
||||
systemctl mask firewalld
|
||||
|
||||
# Always set to permissive.
|
||||
sed -i 's/enforcing/permissive/' /etc/sysconfig/selinux
|
||||
sed -i 's/enforcing/permissive/' /etc/selinux/config
|
||||
|
||||
# Disable agent forwarding, in case user forwards agent, so as not to confuse ansible
|
||||
cat << EOF | tee -a /etc/ssh/sshd_config
|
||||
Match User root
|
||||
AllowAgentForwarding no
|
||||
|
||||
EOF
|
||||
|
||||
systemctl restart sshd
|
||||
|
||||
touch /etc/cloud/cloud-init.disabled || exit 1
|
||||
true
|
||||
#dnf -y upgrade &
|
||||
#
|
||||
#HOSTNAME="$(hostname)"
|
||||
#
|
||||
#if [[ $(hostname) =~ infra ]]; then
|
||||
# dnf -y install git-core git wget python36 chrony openssh-server python3-devel sudo
|
||||
# git clone --branch feature/rocky8 --single-branch https://github.com/NeilHanlon/openstack-ansible.git /opt/openstack-ansible
|
||||
#fi
|
||||
#
|
||||
## Always stop and mask firewalld
|
||||
#systemctl stop firewalld
|
||||
#systemctl mask firewalld
|
||||
#
|
||||
## Always set to permissive.
|
||||
#sed -i 's/enforcing/permissive/' /etc/sysconfig/selinux
|
||||
#sed -i 's/enforcing/permissive/' /etc/selinux/config
|
||||
#
|
||||
## Disable agent forwarding, in case user forwards agent, so as not to confuse ansible
|
||||
#cat << EOF | tee -a /etc/ssh/sshd_config
|
||||
#Match User root
|
||||
# AllowAgentForwarding no
|
||||
#
|
||||
#EOF
|
||||
#
|
||||
#systemctl restart sshd
|
||||
#
|
||||
#touch /etc/cloud/cloud-init.disabled || exit 1
|
||||
#true
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.1.2",
|
||||
"serial": 198,
|
||||
"serial": 212,
|
||||
"lineage": "9182161d-2dda-d6b4-a789-8481586b33b1",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
@ -14,10 +14,10 @@
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"content": "dnf -y upgrade \u0026\n\nHOSTNAME=\"$(hostname)\"\n\nif [[ $(hostname) =~ infra ]]; then\n dnf -y install git-core git wget python36 chrony openssh-server python3-devel sudo\n git clone --branch feature/rocky8 --single-branch https://github.com/NeilHanlon/openstack-ansible.git /opt/openstack-ansible\nfi\n\n# Always stop and mask firewalld\nsystemctl stop firewalld\nsystemctl mask firewalld\n\n# Always set to permissive.\nsed -i 's/enforcing/permissive/' /etc/sysconfig/selinux\nsed -i 's/enforcing/permissive/' /etc/selinux/config\n\n# Disable agent forwarding, in case user forwards agent, so as not to confuse ansible\ncat \u003c\u003c EOF | tee -a /etc/ssh/sshd_config\nMatch User root\n AllowAgentForwarding no\n\nEOF\n\nsystemctl restart sshd\n\ntouch /etc/cloud/cloud-init.disabled || exit 1\ntrue\n",
|
||||
"content_base64": "ZG5mIC15IHVwZ3JhZGUgJgoKSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgoKaWYgW1sgJChob3N0bmFtZSkgPX4gaW5mcmEgXV07IHRoZW4KICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KICAgIGdpdCBjbG9uZSAtLWJyYW5jaCBmZWF0dXJlL3JvY2t5OCAtLXNpbmdsZS1icmFuY2ggaHR0cHM6Ly9naXRodWIuY29tL05laWxIYW5sb24vb3BlbnN0YWNrLWFuc2libGUuZ2l0IC9vcHQvb3BlbnN0YWNrLWFuc2libGUKZmkKCiMgQWx3YXlzIHN0b3AgYW5kIG1hc2sgZmlyZXdhbGxkCnN5c3RlbWN0bCBzdG9wIGZpcmV3YWxsZApzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKCiMgQWx3YXlzIHNldCB0byBwZXJtaXNzaXZlLgpzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CnNlZCAtaSAncy9lbmZvcmNpbmcvcGVybWlzc2l2ZS8nIC9ldGMvc2VsaW51eC9jb25maWcKCiMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKY2F0IDw8IEVPRiB8IHRlZSAtYSAvZXRjL3NzaC9zc2hkX2NvbmZpZwpNYXRjaCBVc2VyIHJvb3QKICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwoKRU9GCgpzeXN0ZW1jdGwgcmVzdGFydCBzc2hkCgp0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCnRydWUK",
|
||||
"content": "#dnf -y upgrade \u0026\n#\n#HOSTNAME=\"$(hostname)\"\n#\n#if [[ $(hostname) =~ infra ]]; then\n# dnf -y install git-core git wget python36 chrony openssh-server python3-devel sudo\n# git clone --branch feature/rocky8 --single-branch https://github.com/NeilHanlon/openstack-ansible.git /opt/openstack-ansible\n#fi\n#\n## Always stop and mask firewalld\n#systemctl stop firewalld\n#systemctl mask firewalld\n#\n## Always set to permissive.\n#sed -i 's/enforcing/permissive/' /etc/sysconfig/selinux\n#sed -i 's/enforcing/permissive/' /etc/selinux/config\n#\n## Disable agent forwarding, in case user forwards agent, so as not to confuse ansible\n#cat \u003c\u003c EOF | tee -a /etc/ssh/sshd_config\n#Match User root\n# AllowAgentForwarding no\n#\n#EOF\n#\n#systemctl restart sshd\n#\n#touch /etc/cloud/cloud-init.disabled || exit 1\n#true\n",
|
||||
"content_base64": "I2RuZiAteSB1cGdyYWRlICYKIwojSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgojCiNpZiBbWyAkKGhvc3RuYW1lKSA9fiBpbmZyYSBdXTsgdGhlbgojICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KIyAgICBnaXQgY2xvbmUgLS1icmFuY2ggZmVhdHVyZS9yb2NreTggLS1zaW5nbGUtYnJhbmNoIGh0dHBzOi8vZ2l0aHViLmNvbS9OZWlsSGFubG9uL29wZW5zdGFjay1hbnNpYmxlLmdpdCAvb3B0L29wZW5zdGFjay1hbnNpYmxlCiNmaQojCiMjIEFsd2F5cyBzdG9wIGFuZCBtYXNrIGZpcmV3YWxsZAojc3lzdGVtY3RsIHN0b3AgZmlyZXdhbGxkCiNzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKIwojIyBBbHdheXMgc2V0IHRvIHBlcm1pc3NpdmUuCiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3NlbGludXgvY29uZmlnCiMKIyMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKI2NhdCA8PCBFT0YgfCB0ZWUgLWEgL2V0Yy9zc2gvc3NoZF9jb25maWcKI01hdGNoIFVzZXIgcm9vdAojICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwojCiNFT0YKIwojc3lzdGVtY3RsIHJlc3RhcnQgc3NoZAojCiN0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCiN0cnVlCg==",
|
||||
"filename": "./files/startup.sh",
|
||||
"id": "0e17daa7c5419279a2f47d3cdb3975d4e8729cdf"
|
||||
"id": "5f996b64baace058772b3b1aa86db83787468974"
|
||||
},
|
||||
"sensitive_attributes": []
|
||||
}
|
||||
@ -60,7 +60,7 @@
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"attached_to_instance": "b39eaea4-d1e3-48a8-a7f2-235dae0dcdfc",
|
||||
"attached_to_instance": "bad7f87e-b0cb-488a-8175-688084830935",
|
||||
"cost": 10,
|
||||
"date_created": "2021-12-28T22:51:10+00:00",
|
||||
"id": "1b5e5064-bf92-4c80-b6a2-137eefb9fae9",
|
||||
@ -96,23 +96,23 @@
|
||||
"app_id": 0,
|
||||
"backups": "disabled",
|
||||
"backups_schedule": [],
|
||||
"date_created": "2021-12-29T22:18:45+00:00",
|
||||
"date_created": "2021-12-30T00:30:40+00:00",
|
||||
"ddos_protection": false,
|
||||
"default_password": "6T=m5CQv]$2zBUJM",
|
||||
"default_password": ".wB2=mJACz#Tcz[j",
|
||||
"disk": 110,
|
||||
"enable_ipv6": false,
|
||||
"enable_private_network": false,
|
||||
"features": [],
|
||||
"firewall_group_id": "",
|
||||
"gateway_v4": "149.28.32.1",
|
||||
"gateway_v4": "149.28.234.1",
|
||||
"hostname": "ala-compute1",
|
||||
"id": "452fbbfb-f28e-40bc-b501-dc1c4b51013e",
|
||||
"id": "31a0a20d-ea96-4f83-870e-fea812a9e2f2",
|
||||
"image_id": null,
|
||||
"internal_ip": "",
|
||||
"iso_id": null,
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8dnp1Z0R2aEcwYWR6bk54WWNlUHRCemE3WnNCaHF2a3Z8lPFY7sSsB-aVm3rMP3HhtB1bTQGd_6PxB9NfPaLQlWEk5pmK-XrKAPsQ5e2LS-D4SOuzUFTboMX2sZiaJ-v6SEG7euaSwuzqeBZEW5uxuM9r1nqIls2UGLHHwFSE-QmNRMH97CmP5THOeV3TqVKDGgpxlrfQ_bOaboCh3GcbBbH94LG3U4n1idr1AuFsvlt-juqYrvn9LkszsQ",
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8OFFsTVFteHZlZzFFdnN1emhlVElKamxhYWhDWXhmNnV8AlNjpeU0Oc8mQjlzrNeQ3lC8HGsYPIWNrwR43ljQRa12eliKNUlgQdodCf_l-WSB3MFtVL-lD3KmN-vEW8ovggslmZ_FlZ1M7knEhpzLXnNPDGcw-DVcCHKeeoAXQar1NRRaJeegQ4RCAjLiyjZHs8n2b9i09ERRm0yPugaVz4XN3PWgbhHq1lxEWkh2MKSYndOXvKtBB-1Y7Q",
|
||||
"label": "compute1",
|
||||
"main_ip": "149.28.33.91",
|
||||
"main_ip": "149.28.235.85",
|
||||
"netmask_v4": "255.255.254.0",
|
||||
"os": "Rocky Linux x64",
|
||||
"os_id": 448,
|
||||
@ -120,8 +120,8 @@
|
||||
"power_status": "running",
|
||||
"private_network_ids": [
|
||||
"6bc8c36b-c3b1-4710-9880-c8ad4a53399c",
|
||||
"ec94cea3-8385-49dd-930c-b2f0a1304a16",
|
||||
"52bf92d4-a2cd-4266-b8a4-5dbd4190b174"
|
||||
"52bf92d4-a2cd-4266-b8a4-5dbd4190b174",
|
||||
"ec94cea3-8385-49dd-930c-b2f0a1304a16"
|
||||
],
|
||||
"ram": 8192,
|
||||
"region": "ewr",
|
||||
@ -166,23 +166,23 @@
|
||||
"app_id": 0,
|
||||
"backups": "disabled",
|
||||
"backups_schedule": [],
|
||||
"date_created": "2021-12-29T22:18:45+00:00",
|
||||
"date_created": "2021-12-30T00:30:41+00:00",
|
||||
"ddos_protection": false,
|
||||
"default_password": "K5g?JD%vAoQsMSEZ",
|
||||
"default_password": "$p6Te@XS#_x4-oD7",
|
||||
"disk": 110,
|
||||
"enable_ipv6": false,
|
||||
"enable_private_network": false,
|
||||
"features": [],
|
||||
"firewall_group_id": "",
|
||||
"gateway_v4": "207.246.92.1",
|
||||
"gateway_v4": "45.77.202.1",
|
||||
"hostname": "ala-infra1",
|
||||
"id": "e706954d-e296-429c-928f-fd8809e48197",
|
||||
"id": "faa1968f-71e6-4fe8-aad6-81e4feb2a98b",
|
||||
"image_id": null,
|
||||
"internal_ip": "",
|
||||
"iso_id": null,
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8VUI1REdGUXFhM1NjX2tBa0JUTldla2xLTGRlNFRheTV8WgaFw8-KPQir6AngKs7wa3afkn0dupBWw0vnZJ5-qzyj6AvdNaYRahvGeyqrOYKgJ552yqPn5fH6XQrxlS90n-CagM8Wo3XKs8ClBMlAJEXBtp9kadV0GNuyTJjW67ZiZAutpMPbUL21vsPW14HfR9kmB6pLP_abFxcQu9Zgw5A8ejAYj1Y_c-8bnBQl-VS_uOvDjU5JM0M",
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8MFhsWkNVVE5iRFc2TUhqd29qeUg5Ui1XZ211XzdiYld8UP8GA-ji2VmHY0l_YwwnJA4AfCPwX3zcXzVF23LcwYuj2YbgOmdthuX1XhKt9TK9xjffm-RtFn4Vn6Ct7jtvuG-bbGI5ttjQTwK6IDnKq_pK2kxK-6J8eBzmn7vEyBYT-W9iRKKSbYl7XtfVBXMy5M1sBzRa1eAq6yzPyoJxZP6kthclTxj0HHbapxZpsqrbsM3e72_FloQ",
|
||||
"label": "infra1",
|
||||
"main_ip": "207.246.93.170",
|
||||
"main_ip": "45.77.203.158",
|
||||
"netmask_v4": "255.255.254.0",
|
||||
"os": "Rocky Linux x64",
|
||||
"os_id": 448,
|
||||
@ -236,23 +236,23 @@
|
||||
"app_id": 0,
|
||||
"backups": "disabled",
|
||||
"backups_schedule": [],
|
||||
"date_created": "2021-12-29T22:18:45+00:00",
|
||||
"date_created": "2021-12-30T00:30:40+00:00",
|
||||
"ddos_protection": false,
|
||||
"default_password": "!t5Lpkhd.{DEP!QX",
|
||||
"default_password": "d2E[ysEA%Vq68cjm",
|
||||
"disk": 160,
|
||||
"enable_ipv6": false,
|
||||
"enable_private_network": false,
|
||||
"features": [],
|
||||
"firewall_group_id": "",
|
||||
"gateway_v4": "45.77.78.1",
|
||||
"gateway_v4": "149.28.226.1",
|
||||
"hostname": "ala-storage1",
|
||||
"id": "b39eaea4-d1e3-48a8-a7f2-235dae0dcdfc",
|
||||
"id": "bad7f87e-b0cb-488a-8175-688084830935",
|
||||
"image_id": null,
|
||||
"internal_ip": "",
|
||||
"iso_id": null,
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8bDhJNk5faDNScVlUYVNWdzZFQWZhWm5tSG40emxFWVF8Ko-ZlONHHxB4_nT6QtxJHYnzYQIxGTJQI7gOrOoUS40pZHeMqPFUeF3UZI7lcXSams2_c9FvLEN2c4-YxXhEyKzop2NUUNJkdYsT_S7FlxFG5-HN7JWW1sGfGVWCTlAJNezl2s2MMnnf7s0L8TcKHjpvCaG1bIwI8rz3gFpx0eow5DLa0sGvJ0LeMemHu0moLP_UOQncbeR_pw",
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8Z2d1S3VMQ1NfSklkcmpHXy1OVGxld29DdXhMcDN4MEV8I5cntwvGLX3d34T0I78QrGOYGz5lehs1uGquIhOMOXdNOYjQX3ih9OD6kYW6_uHiv6uoXFr9I-jy38eAS_nm44sIpxXaoV_VDrWWoefIWH4HmIoTHg1TF1fXwHYaqRtaOVPNcWsX4uB-oe8FDQkOYTUv64mWmR2CkpoAceW7NolIkdSVfgpbeRGhr_Tvs0r-7cN2mUY4TL399g",
|
||||
"label": "storage1",
|
||||
"main_ip": "45.77.78.203",
|
||||
"main_ip": "149.28.227.188",
|
||||
"netmask_v4": "255.255.254.0",
|
||||
"os": "Rocky Linux x64",
|
||||
"os_id": 448,
|
||||
@ -424,10 +424,10 @@
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"date_created": "2021-10-30T21:37:07+00:00",
|
||||
"date_modified": "2021-12-29T22:04:12+00:00",
|
||||
"date_modified": "2021-12-30T00:30:37+00:00",
|
||||
"id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
|
||||
"name": "advancedlsa",
|
||||
"script": "ZG5mIC15IHVwZ3JhZGUgJgoKSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgoKaWYgW1sgJChob3N0bmFtZSkgPX4gaW5mcmEgXV07IHRoZW4KICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KICAgIGdpdCBjbG9uZSAtLWJyYW5jaCBmZWF0dXJlL3JvY2t5OCAtLXNpbmdsZS1icmFuY2ggaHR0cHM6Ly9naXRodWIuY29tL05laWxIYW5sb24vb3BlbnN0YWNrLWFuc2libGUuZ2l0IC9vcHQvb3BlbnN0YWNrLWFuc2libGUKZmkKCiMgQWx3YXlzIHN0b3AgYW5kIG1hc2sgZmlyZXdhbGxkCnN5c3RlbWN0bCBzdG9wIGZpcmV3YWxsZApzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKCiMgQWx3YXlzIHNldCB0byBwZXJtaXNzaXZlLgpzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CnNlZCAtaSAncy9lbmZvcmNpbmcvcGVybWlzc2l2ZS8nIC9ldGMvc2VsaW51eC9jb25maWcKCiMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKY2F0IDw8IEVPRiB8IHRlZSAtYSAvZXRjL3NzaC9zc2hkX2NvbmZpZwpNYXRjaCBVc2VyIHJvb3QKICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwoKRU9GCgpzeXN0ZW1jdGwgcmVzdGFydCBzc2hkCgp0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCnRydWUK",
|
||||
"script": "I2RuZiAteSB1cGdyYWRlICYKIwojSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgojCiNpZiBbWyAkKGhvc3RuYW1lKSA9fiBpbmZyYSBdXTsgdGhlbgojICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KIyAgICBnaXQgY2xvbmUgLS1icmFuY2ggZmVhdHVyZS9yb2NreTggLS1zaW5nbGUtYnJhbmNoIGh0dHBzOi8vZ2l0aHViLmNvbS9OZWlsSGFubG9uL29wZW5zdGFjay1hbnNpYmxlLmdpdCAvb3B0L29wZW5zdGFjay1hbnNpYmxlCiNmaQojCiMjIEFsd2F5cyBzdG9wIGFuZCBtYXNrIGZpcmV3YWxsZAojc3lzdGVtY3RsIHN0b3AgZmlyZXdhbGxkCiNzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKIwojIyBBbHdheXMgc2V0IHRvIHBlcm1pc3NpdmUuCiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3NlbGludXgvY29uZmlnCiMKIyMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKI2NhdCA8PCBFT0YgfCB0ZWUgLWEgL2V0Yy9zc2gvc3NoZF9jb25maWcKI01hdGNoIFVzZXIgcm9vdAojICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwojCiNFT0YKIwojc3lzdGVtY3RsIHJlc3RhcnQgc3NoZAojCiN0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCiN0cnVlCg==",
|
||||
"type": "boot"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.1.2",
|
||||
"serial": 190,
|
||||
"serial": 203,
|
||||
"lineage": "9182161d-2dda-d6b4-a789-8481586b33b1",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
@ -60,7 +60,7 @@
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"attached_to_instance": "a55972fb-5e17-4b56-85ab-8b015ae0abb6",
|
||||
"attached_to_instance": "b39eaea4-d1e3-48a8-a7f2-235dae0dcdfc",
|
||||
"cost": 10,
|
||||
"date_created": "2021-12-28T22:51:10+00:00",
|
||||
"id": "1b5e5064-bf92-4c80-b6a2-137eefb9fae9",
|
||||
@ -97,23 +97,23 @@
|
||||
"app_id": 0,
|
||||
"backups": "disabled",
|
||||
"backups_schedule": [],
|
||||
"date_created": "2021-12-28T22:50:31+00:00",
|
||||
"date_created": "2021-12-29T22:18:45+00:00",
|
||||
"ddos_protection": false,
|
||||
"default_password": "5X+y!6GrB})]-(8W",
|
||||
"default_password": "6T=m5CQv]$2zBUJM",
|
||||
"disk": 110,
|
||||
"enable_ipv6": false,
|
||||
"enable_private_network": false,
|
||||
"features": [],
|
||||
"firewall_group_id": "",
|
||||
"gateway_v4": "149.28.46.1",
|
||||
"gateway_v4": "149.28.32.1",
|
||||
"hostname": "ala-compute1",
|
||||
"id": "4a25c69f-091b-44bb-b259-a46a5b0066ec",
|
||||
"id": "452fbbfb-f28e-40bc-b501-dc1c4b51013e",
|
||||
"image_id": null,
|
||||
"internal_ip": "",
|
||||
"iso_id": null,
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8b2xHYkRMX1pKc2tIUS1xaEpTbUdoc0phQy1fOE0xTFJ8r96uD5bifmn6k5UjwBUfcrh5RyqOAY33WdW_VopVd9NE5sdFOW1lZ59vshprwzLZgR7Ktz5i8d5lN7T9BQxUhR5qkJjbTcDwGWZhq587Xpqm-Fdm6j6mWXZYD2WD0At4M0X3sDX480afSB09NEtjIf8-oWth2NXf21tCHk7Q50JyTw5Q3Y0rtUQQTjLUeVUzsRvF9ULhb1aFuiuF2xKxgLLFCiOV",
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8dnp1Z0R2aEcwYWR6bk54WWNlUHRCemE3WnNCaHF2a3Z8lPFY7sSsB-aVm3rMP3HhtB1bTQGd_6PxB9NfPaLQlWEk5pmK-XrKAPsQ5e2LS-D4SOuzUFTboMX2sZiaJ-v6SEG7euaSwuzqeBZEW5uxuM9r1nqIls2UGLHHwFSE-QmNRMH97CmP5THOeV3TqVKDGgpxlrfQ_bOaboCh3GcbBbH94LG3U4n1idr1AuFsvlt-juqYrvn9LkszsQ",
|
||||
"label": "compute1",
|
||||
"main_ip": "149.28.47.218",
|
||||
"main_ip": "149.28.33.91",
|
||||
"netmask_v4": "255.255.254.0",
|
||||
"os": "Rocky Linux x64",
|
||||
"os_id": 448,
|
||||
@ -128,7 +128,7 @@
|
||||
"region": "ewr",
|
||||
"reserved_ip_id": null,
|
||||
"script_id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
|
||||
"server_status": "ok",
|
||||
"server_status": "installingbooting",
|
||||
"snapshot_id": null,
|
||||
"ssh_key_ids": [
|
||||
"f57eb103-38ce-4a82-a5de-3ffcf1646792"
|
||||
@ -168,23 +168,23 @@
|
||||
"app_id": 0,
|
||||
"backups": "disabled",
|
||||
"backups_schedule": [],
|
||||
"date_created": "2021-12-28T22:50:31+00:00",
|
||||
"date_created": "2021-12-29T22:18:45+00:00",
|
||||
"ddos_protection": false,
|
||||
"default_password": "!8De]*A_#?nB]4=M",
|
||||
"default_password": "K5g?JD%vAoQsMSEZ",
|
||||
"disk": 110,
|
||||
"enable_ipv6": false,
|
||||
"enable_private_network": false,
|
||||
"features": [],
|
||||
"firewall_group_id": "",
|
||||
"gateway_v4": "45.76.0.1",
|
||||
"gateway_v4": "207.246.92.1",
|
||||
"hostname": "ala-infra1",
|
||||
"id": "443c7b6c-b08d-4458-9948-af695e6413a9",
|
||||
"id": "e706954d-e296-429c-928f-fd8809e48197",
|
||||
"image_id": null,
|
||||
"internal_ip": "",
|
||||
"iso_id": null,
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8NUZiYTZzWVhkcktCZ280bUxYZjRjT3BpenVldVpWbGR8LKBl4_Ffhah-Bfis-2WdhHGDsYRM5oAyvd71TwhWKKORvBX7gyEWt4cWblCCSi-hXcy7UqMBIhUBeoUiWf0uUw_s85kQNN0U-1kVKpyPbCh_tU1tBdGsS9elaS9FLpPO8_6Sq4t5meXPT5nAIllF1bU3gRKZPRiny8JW3zCYaJWFic4o_wDVKkf64fce0DPVroFF1GEDGgAwpNMWERD-7-UenuGU-BFIMDvPJBGtN9M",
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8VUI1REdGUXFhM1NjX2tBa0JUTldla2xLTGRlNFRheTV8WgaFw8-KPQir6AngKs7wa3afkn0dupBWw0vnZJ5-qzyj6AvdNaYRahvGeyqrOYKgJ552yqPn5fH6XQrxlS90n-CagM8Wo3XKs8ClBMlAJEXBtp9kadV0GNuyTJjW67ZiZAutpMPbUL21vsPW14HfR9kmB6pLP_abFxcQu9Zgw5A8ejAYj1Y_c-8bnBQl-VS_uOvDjU5JM0M",
|
||||
"label": "infra1",
|
||||
"main_ip": "45.76.0.85",
|
||||
"main_ip": "207.246.93.170",
|
||||
"netmask_v4": "255.255.254.0",
|
||||
"os": "Rocky Linux x64",
|
||||
"os_id": 448,
|
||||
@ -199,7 +199,7 @@
|
||||
"region": "ewr",
|
||||
"reserved_ip_id": null,
|
||||
"script_id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
|
||||
"server_status": "ok",
|
||||
"server_status": "installingbooting",
|
||||
"snapshot_id": null,
|
||||
"ssh_key_ids": [
|
||||
"f57eb103-38ce-4a82-a5de-3ffcf1646792"
|
||||
@ -239,23 +239,23 @@
|
||||
"app_id": 0,
|
||||
"backups": "disabled",
|
||||
"backups_schedule": [],
|
||||
"date_created": "2021-12-28T22:50:31+00:00",
|
||||
"date_created": "2021-12-29T22:18:45+00:00",
|
||||
"ddos_protection": false,
|
||||
"default_password": "B9(cV}N-M?u_9*tq",
|
||||
"default_password": "!t5Lpkhd.{DEP!QX",
|
||||
"disk": 160,
|
||||
"enable_ipv6": false,
|
||||
"enable_private_network": false,
|
||||
"features": [],
|
||||
"firewall_group_id": "",
|
||||
"gateway_v4": "104.156.226.1",
|
||||
"gateway_v4": "45.77.78.1",
|
||||
"hostname": "ala-storage1",
|
||||
"id": "a55972fb-5e17-4b56-85ab-8b015ae0abb6",
|
||||
"id": "b39eaea4-d1e3-48a8-a7f2-235dae0dcdfc",
|
||||
"image_id": null,
|
||||
"internal_ip": "",
|
||||
"iso_id": null,
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8STllY2pYZUpUdFIyUnQ5aXZZVWZ3SXl0elh3ZndMcFJ8s5EGXA4mcXPIBXiLl5sRkh10zUE4KPpwXCxEJLnmkiRjiLdV19F-6OLZ8RFwiKGOC7LVwnDeSRQXpyxM5q5AnFcIK5rhphmeCnwDRu_e-Y6iXJAcXqbSTywUXWHdj9zv-gyLHpa75O3Jgo2TXk-BwEEXmxLEoQ6Ah1CLqBsJ3PFV4zgd-MJrEP5KZHpXYQi4ciTusqVZBfm0ty7qGI80bZl5FU6-",
|
||||
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8bDhJNk5faDNScVlUYVNWdzZFQWZhWm5tSG40emxFWVF8Ko-ZlONHHxB4_nT6QtxJHYnzYQIxGTJQI7gOrOoUS40pZHeMqPFUeF3UZI7lcXSams2_c9FvLEN2c4-YxXhEyKzop2NUUNJkdYsT_S7FlxFG5-HN7JWW1sGfGVWCTlAJNezl2s2MMnnf7s0L8TcKHjpvCaG1bIwI8rz3gFpx0eow5DLa0sGvJ0LeMemHu0moLP_UOQncbeR_pw",
|
||||
"label": "storage1",
|
||||
"main_ip": "104.156.227.146",
|
||||
"main_ip": "45.77.78.203",
|
||||
"netmask_v4": "255.255.254.0",
|
||||
"os": "Rocky Linux x64",
|
||||
"os_id": 448,
|
||||
@ -269,7 +269,7 @@
|
||||
"region": "ewr",
|
||||
"reserved_ip_id": null,
|
||||
"script_id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
|
||||
"server_status": "ok",
|
||||
"server_status": "installingbooting",
|
||||
"snapshot_id": null,
|
||||
"ssh_key_ids": [
|
||||
"f57eb103-38ce-4a82-a5de-3ffcf1646792"
|
||||
|
Loading…
Reference in New Issue
Block a user