@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
401 lines (350 loc) • 41.9 kB
Plain Text
task: [install:software:common:linux:redhat] mkdir -p "$HOME/.config/mblabs"
task: [install:software:common:linux:redhat] if [ ! -f "$HOME/.config/mblabs/yum-devtools-check-ran" ]; then
yum grouplist 'Development Tools' &> "$HOME/.config/mblabs/yum-devtools-check-ran"
DEV_TOOLS_NOT_INSTALLED="$(grep 'No groups match' < "$HOME/.config/mblabs/yum-devtools-check-ran" > /dev/null)"
if [[ "$DEV_TOOLS_NOT_INSTALLED" == '0' ]]; then
sudo yum groupinstall -y 'Development Tools'
fi
touch "$HOME/.config/mblabs/yum-devtools-check-ran"
fi
if ! rpm --quiet --query curl file git procps-ng; then
.config/log info 'Attempting to install Homebrew dependencies (sudo password required)'
sudo yum install -y curl file git procps-ng
fi
if [ -f '/etc/os-release' ]; then
source /etc/os-release
if [[ "$ID" == 'fedora' ]] && [ "$VERSION_ID" -gt "29" ]; then
if ! rpm --quiet --query libxcrypt-compat; then
.config/log info 'Attempting to install Fedora-specific Homebrew dependency (sudo password required)'
sudo yum -y install libxcrypt-compat
fi
fi
fi
task: Task "install:software:brew:linux" is up to date
task: Task "install:install-doctor" is up to date
task: [install:python:requirements:poetry:prereqs] if ! which gcc-5 > /dev/null; then
if which gcc; then
if [ -w /usr/local/bin ]; then
ln -s "$(which gcc)" /usr/local/bin/gcc-5
else
.config/log info 'It looks like your system is missing gcc-5 but gcc is available. You will be prompted for a password to run:'
.config/log info '`sudo ln -s '"$(which gcc)"' /usr/local/bin/gcc-5`'
sudo ln -s "$(which gcc)" /usr/local/bin/gcc-5
fi
else
.config/log warn '`gcc` is missing.'
fi
fi
task: Task "install:software:poetry" is up to date
task: Task "install:python:requirements:poetry" is up to date
task: Task "ansible:galaxy:requirements" is up to date
task: [ansible:test:molecule:dependencies] poetry run ansible-galaxy install --ignore-errors -r requirements.yml
Skipping install, no requirements found
task: [symlink:role] mkdir -p "$HOME/.ansible/roles"
task: [symlink:role] rm -rf "$HOME/.ansible/roles/professormanhattan.disks"
task: [symlink:role] ln -sf "$PWD" "$HOME/.ansible/roles/professormanhattan.disks"
[WARNING]: Invalid characters were found in group names but not replaced, use
-vvvv to see details
[WARNING]: Found both group and host with same name: CentOS-7
[WARNING]: Found both group and host with same name: Fedora-33
[WARNING]: Found both group and host with same name: Fedora-35
[WARNING]: Found both group and host with same name: CentOS-8
[WARNING]: Found both group and host with same name: CentOS-Stream-8
[WARNING]: Found both group and host with same name: Fedora-34
PLAY [Update platforms] ********************************************************
TASK [Gathering Facts] *********************************************************
Friday 07 January 2022 08:41:48 -0500 (0:00:00.013) 0:00:00.013 ********
ok: [localhost]
TASK [Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable] ***
Friday 07 January 2022 08:41:57 -0500 (0:00:09.495) 0:00:09.509 ********
skipping: [localhost]
PLAY [Destroy] *****************************************************************
TASK [Destroy molecule instance(s)] ********************************************
Friday 07 January 2022 08:41:58 -0500 (0:00:00.373) 0:00:09.883 ********
ok: [localhost] => (item=ArchLinux-Latest)
ok: [localhost] => (item=CentOS-7)
ok: [localhost] => (item=CentOS-8)
ok: [localhost] => (item=CentOS-Stream-8)
ok: [localhost] => (item=Debian-9-Stretch)
ok: [localhost] => (item=Debian-10-Buster)
ok: [localhost] => (item=Debian-11-Bullseye)
ok: [localhost] => (item=Fedora-33)
ok: [localhost] => (item=Fedora-34)
ok: [localhost] => (item=Fedora-35)
ok: [localhost] => (item=Ubuntu-18.04-Bionic-Beaver)
ok: [localhost] => (item=Ubuntu-20.04-Focal-Fossa)
ok: [localhost] => (item=Ubuntu-21.04-Hirsute-Hippo)
ok: [localhost] => (item=Ubuntu-21.10-Impish-Indri)
ok: [localhost] => (item=Windows-10)
TASK [Populate instance config] ************************************************
Friday 07 January 2022 08:42:27 -0500 (0:00:28.925) 0:00:38.809 ********
ok: [localhost]
TASK [Dump instance config] ****************************************************
Friday 07 January 2022 08:42:27 -0500 (0:00:00.176) 0:00:38.985 ********
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Friday 07 January 2022 08:42:27 -0500 (0:00:00.327) 0:00:39.313 ********
===============================================================================
Destroy molecule instance(s) ------------------------------------------- 28.93s
Gathering Facts --------------------------------------------------------- 9.50s
Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable --- 0.37s
Dump instance config ---------------------------------------------------- 0.33s
Populate instance config ------------------------------------------------ 0.18s
Playbook run took 0 days, 0 hours, 0 minutes, 39 seconds
[WARNING]: Invalid characters were found in group names but not replaced, use
-vvvv to see details
[WARNING]: Found both group and host with same name: CentOS-8
[WARNING]: Found both group and host with same name: Fedora-33
[WARNING]: Found both group and host with same name: CentOS-7
[WARNING]: Found both group and host with same name: CentOS-Stream-8
[WARNING]: Found both group and host with same name: Fedora-35
[WARNING]: Found both group and host with same name: Fedora-34
playbook: /home/hawkwood/gas-station/roles/system/disks/molecule/converge.yml
[WARNING]: Invalid characters were found in group names but not replaced, use
-vvvv to see details
[WARNING]: Found both group and host with same name: Fedora-34
[WARNING]: Found both group and host with same name: Fedora-33
[WARNING]: Found both group and host with same name: CentOS-8
[WARNING]: Found both group and host with same name: Fedora-35
[WARNING]: Found both group and host with same name: CentOS-7
[WARNING]: Found both group and host with same name: CentOS-Stream-8
PLAY [Update platforms] ********************************************************
TASK [Gathering Facts] *********************************************************
Friday 07 January 2022 08:42:30 -0500 (0:00:00.014) 0:00:00.014 ********
ok: [localhost]
TASK [Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable] ***
Friday 07 January 2022 08:42:39 -0500 (0:00:09.426) 0:00:09.440 ********
skipping: [localhost]
PLAY [Create] ******************************************************************
TASK [Create molecule instance(s)] *********************************************
Friday 07 January 2022 08:42:40 -0500 (0:00:00.366) 0:00:09.807 ********
changed: [localhost] => (item=ArchLinux-Latest)
changed: [localhost] => (item=CentOS-7)
changed: [localhost] => (item=CentOS-8)
changed: [localhost] => (item=CentOS-Stream-8)
changed: [localhost] => (item=Debian-9-Stretch)
changed: [localhost] => (item=Debian-10-Buster)
changed: [localhost] => (item=Debian-11-Bullseye)
changed: [localhost] => (item=Fedora-33)
changed: [localhost] => (item=Fedora-34)
changed: [localhost] => (item=Fedora-35)
changed: [localhost] => (item=Ubuntu-18.04-Bionic-Beaver)
changed: [localhost] => (item=Ubuntu-20.04-Focal-Fossa)
changed: [localhost] => (item=Ubuntu-21.04-Hirsute-Hippo)
changed: [localhost] => (item=Ubuntu-21.10-Impish-Indri)
changed: [localhost] => (item=Windows-10)
TASK [Populate instance config dict] *******************************************
Friday 07 January 2022 08:52:09 -0500 (0:09:29.057) 0:09:38.865 ********
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-ArchLinux-Latest.out', 'Host': 'ArchLinux-Latest', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2214', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/ArchLinux-Latest/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'ArchLinux-Latest', 'platform_box': 'archlinux/archlinux', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'archlinux/archlinux', 'cpus': 1, 'groups': ['ArchLinux', 'Linux'], 'memory': 512, 'name': 'ArchLinux-Latest', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-CentOS-7.out', 'Host': 'CentOS-7', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2215', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/CentOS-7/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'CentOS-7', 'platform_box': 'bento/centos-7', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/centos-7', 'cpus': 1, 'groups': ['CentOS', 'CentOS-7', 'Linux', 'RedHat-Flavor'], 'memory': 512, 'name': 'CentOS-7', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-CentOS-8.out', 'Host': 'CentOS-8', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2216', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/CentOS-8/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'CentOS-8', 'platform_box': 'bento/centos-8', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/centos-8', 'cpus': 1, 'groups': ['CentOS', 'CentOS-8', 'Linux', 'RedHat-Flavor'], 'memory': 512, 'name': 'CentOS-8', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-CentOS-Stream-8.out', 'Host': 'CentOS-Stream-8', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2217', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/CentOS-Stream-8/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'CentOS-Stream-8', 'platform_box': 'bento/centos-stream-8', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/centos-stream-8', 'cpus': 1, 'groups': ['CentOS', 'CentOS-Stream-8', 'Linux', 'RedHat-Flavor'], 'memory': 512, 'name': 'CentOS-Stream-8', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Debian-9-Stretch.out', 'Host': 'Debian-9-Stretch', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2218', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Debian-9-Stretch/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Debian-9-Stretch', 'platform_box': 'bento/debian-9', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/debian-9', 'cpus': 1, 'groups': ['Debian', 'Debian-9', 'Debian-Flavor', 'Linux'], 'memory': 512, 'name': 'Debian-9-Stretch', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Debian-10-Buster.out', 'Host': 'Debian-10-Buster', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2219', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Debian-10-Buster/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Debian-10-Buster', 'platform_box': 'bento/debian-10', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/debian-10', 'cpus': 1, 'groups': ['Debian', 'Debian-10', 'Debian-Flavor', 'Linux'], 'memory': 512, 'name': 'Debian-10-Buster', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Debian-11-Bullseye.out', 'Host': 'Debian-11-Bullseye', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2220', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Debian-11-Bullseye/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Debian-11-Bullseye', 'platform_box': 'bento/debian-11.1', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/debian-11.1', 'cpus': 1, 'groups': ['Debian', 'Debian-11', 'Debian-Flavor', 'Linux'], 'memory': 512, 'name': 'Debian-11-Bullseye', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Fedora-33.out', 'Host': 'Fedora-33', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2221', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Fedora-33/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Fedora-33', 'platform_box': 'alvistack/fedora-33', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'alvistack/fedora-33', 'cpus': 1, 'groups': ['Fedora', 'Fedora-33', 'Linux', 'RedHat-Flavor'], 'memory': 512, 'name': 'Fedora-33', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Fedora-34.out', 'Host': 'Fedora-34', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2223', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Fedora-34/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Fedora-34', 'platform_box': 'alvistack/fedora-34', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'alvistack/fedora-34', 'cpus': 1, 'groups': ['Fedora', 'Fedora-34', 'Linux', 'RedHat-Flavor'], 'memory': 512, 'name': 'Fedora-34', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Fedora-35.out', 'Host': 'Fedora-35', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2224', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Fedora-35/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Fedora-35', 'platform_box': 'alvistack/fedora-35', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'alvistack/fedora-35', 'cpus': 1, 'groups': ['Fedora', 'Fedora-35', 'Linux', 'RedHat-Flavor'], 'memory': 512, 'name': 'Fedora-35', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Ubuntu-18.04-Bionic-Beaver.out', 'Host': 'Ubuntu-18.04-Bionic-Beaver', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2225', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Ubuntu-18.04-Bionic-Beaver/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Ubuntu-18.04-Bionic-Beaver', 'platform_box': 'bento/ubuntu-18.04', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/ubuntu-18.04', 'cpus': 1, 'groups': ['Debian-Flavor', 'Linux', 'Ubuntu', 'Ubuntu-18.04'], 'memory': 512, 'name': 'Ubuntu-18.04-Bionic-Beaver', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Ubuntu-20.04-Focal-Fossa.out', 'Host': 'Ubuntu-20.04-Focal-Fossa', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2226', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Ubuntu-20.04-Focal-Fossa/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Ubuntu-20.04-Focal-Fossa', 'platform_box': 'bento/ubuntu-20.04', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/ubuntu-20.04', 'cpus': 1, 'groups': ['Debian-Flavor', 'Linux', 'Ubuntu', 'Ubuntu-20.04'], 'memory': 512, 'name': 'Ubuntu-20.04-Focal-Fossa', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Ubuntu-21.04-Hirsute-Hippo.out', 'Host': 'Ubuntu-21.04-Hirsute-Hippo', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2227', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Ubuntu-21.04-Hirsute-Hippo/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Ubuntu-21.04-Hirsute-Hippo', 'platform_box': 'bento/ubuntu-21.04', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'bento/ubuntu-21.04', 'cpus': 1, 'groups': ['Debian-Flavor', 'Linux', 'Ubuntu', 'Ubuntu-21.04'], 'memory': 512, 'name': 'Ubuntu-21.04-Hirsute-Hippo', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Ubuntu-21.10-Impish-Indri.out', 'Host': 'Ubuntu-21.10-Impish-Indri', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2228', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Ubuntu-21.10-Impish-Indri/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Ubuntu-21.10-Impish-Indri', 'platform_box': 'alvistack/ubuntu-21.10', 'provider_name': 'virtualbox', 'provider_memory': 512, 'provider_cpus': 1, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'alvistack/ubuntu-21.10', 'cpus': 1, 'groups': ['Debian-Flavor', 'Linux', 'Ubuntu', 'Ubuntu-21.10'], 'memory': 512, 'name': 'Ubuntu-21.10-Impish-Indri', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"]}, 'ansible_loop_var': 'item'})
ok: [localhost] => (item={'changed': True, 'log': '/home/hawkwood/.cache/molecule/disks/default/vagrant-Windows-10.out', 'Host': 'Windows-10', 'HostName': '127.0.0.1', 'User': 'vagrant', 'Port': '2229', 'UserKnownHostsFile': '/dev/null', 'StrictHostKeyChecking': 'no', 'PasswordAuthentication': 'no', 'IdentityFile': '/home/hawkwood/.cache/molecule/disks/default/.vagrant/machines/Windows-10/virtualbox/private_key', 'IdentitiesOnly': 'yes', 'LogLevel': 'FATAL', 'invocation': {'module_args': {'instance_name': 'Windows-10', 'platform_box': 'Megabyte/Windows-Desktop', 'provider_name': 'virtualbox', 'provider_memory': 4096, 'provider_cpus': 2, 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]", "customize [ 'modifyvm', :id, '--natpf1', 'winrm,tcp,127.0.0.1,55985,,5985' ]"], 'state': 'up', 'instance_interfaces': [], 'config_options': {}, 'provider_options': {}, 'provision': False, 'force_stop': False, 'instance_raw_config_args': None, 'platform_box_version': None, 'platform_box_url': None, 'provider_override_args': None, 'workdir': None}}, 'failed': False, 'item': {'box': 'Megabyte/Windows-Desktop', 'cpus': 2, 'groups': ['Windows'], 'memory': 4096, 'name': 'Windows-10', 'provider_raw_config_args': ["customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]", "customize [ 'modifyvm', :id, '--natpf1', 'winrm,tcp,127.0.0.1,55985,,5985' ]"]}, 'ansible_loop_var': 'item'})
TASK [Convert instance config dict to a list] **********************************
Friday 07 January 2022 08:52:10 -0500 (0:00:00.948) 0:09:39.813 ********
ok: [localhost]
TASK [Dump instance config] ****************************************************
Friday 07 January 2022 08:52:10 -0500 (0:00:00.166) 0:09:39.979 ********
changed: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=5 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
Friday 07 January 2022 08:52:11 -0500 (0:00:01.024) 0:09:41.004 ********
===============================================================================
Create molecule instance(s) ------------------------------------------- 569.06s
Gathering Facts --------------------------------------------------------- 9.43s
Dump instance config ---------------------------------------------------- 1.02s
Populate instance config dict ------------------------------------------- 0.95s
Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable --- 0.37s
Convert instance config dict to a list ---------------------------------- 0.17s
Playbook run took 0 days, 0 hours, 9 minutes, 41 seconds
[WARNING]: Invalid characters were found in group names but not replaced, use
-vvvv to see details
[WARNING]: Found both group and host with same name: CentOS-7
[WARNING]: Found both group and host with same name: Fedora-33
[WARNING]: Found both group and host with same name: CentOS-8
[WARNING]: Found both group and host with same name: Fedora-35
[WARNING]: Found both group and host with same name: CentOS-Stream-8
[WARNING]: Found both group and host with same name: Fedora-34
PLAY [Prepare] *****************************************************************
TASK [Bootstrap Python for Ansible] ********************************************
Friday 07 January 2022 08:52:13 -0500 (0:00:00.039) 0:00:00.039 ********
skipping: [Windows-10]
ok: [Debian-9-Stretch]
ok: [Debian-10-Buster]
ok: [ArchLinux-Latest]
ok: [Debian-11-Bullseye]
ok: [CentOS-7]
ok: [Fedora-33]
ok: [Fedora-35]
ok: [Fedora-34]
ok: [Ubuntu-18.04-Bionic-Beaver]
ok: [Ubuntu-21.04-Hirsute-Hippo]
ok: [Ubuntu-20.04-Focal-Fossa]
ok: [Ubuntu-21.10-Impish-Indri]
ok: [CentOS-8]
ok: [CentOS-Stream-8]
PLAY RECAP *********************************************************************
ArchLinux-Latest : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
CentOS-7 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
CentOS-8 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
CentOS-Stream-8 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Debian-10-Buster : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Debian-11-Bullseye : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Debian-9-Stretch : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Fedora-33 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Fedora-34 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Fedora-35 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Ubuntu-18.04-Bionic-Beaver : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Ubuntu-20.04-Focal-Fossa : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Ubuntu-21.04-Hirsute-Hippo : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Ubuntu-21.10-Impish-Indri : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Windows-10 : ok=0 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
Friday 07 January 2022 08:52:29 -0500 (0:00:15.554) 0:00:15.594 ********
===============================================================================
Bootstrap Python for Ansible ------------------------------------------- 15.55s
Playbook run took 0 days, 0 hours, 0 minutes, 15 seconds
[WARNING]: Invalid characters were found in group names but not replaced, use
-vvvv to see details
[WARNING]: Found both group and host with same name: CentOS-7
[WARNING]: Found both group and host with same name: Fedora-35
[WARNING]: Found both group and host with same name: CentOS-8
[WARNING]: Found both group and host with same name: Fedora-33
[WARNING]: Found both group and host with same name: Fedora-34
[WARNING]: Found both group and host with same name: CentOS-Stream-8
PLAY [Converge] ****************************************************************
TASK [Gathering Facts] *********************************************************
Friday 07 January 2022 08:52:31 -0500 (0:00:00.040) 0:00:00.040 ********
ok: [CentOS-7]
ok: [Debian-9-Stretch]
ok: [Debian-10-Buster]
ok: [ArchLinux-Latest]
ok: [Debian-11-Bullseye]
ok: [Ubuntu-18.04-Bionic-Beaver]
ok: [Ubuntu-21.04-Hirsute-Hippo]
ok: [Ubuntu-20.04-Focal-Fossa]
ok: [CentOS-8]
ok: [Fedora-33]
ok: [Ubuntu-21.10-Impish-Indri]
ok: [CentOS-Stream-8]
ok: [Fedora-35]
ok: [Fedora-34]
ok: [Windows-10]
TASK [professormanhattan.disks : include_tasks] ********************************
Friday 07 January 2022 08:52:34 -0500 (0:00:02.870) 0:00:02.911 ********
included: /home/hawkwood/gas-station/roles/system/disks/tasks/setup-Archlinux.yml for ArchLinux-Latest
included: /home/hawkwood/gas-station/roles/system/disks/tasks/setup-RedHat.yml for CentOS-7, CentOS-8, CentOS-Stream-8, Fedora-33, Fedora-34, Fedora-35
included: /home/hawkwood/gas-station/roles/system/disks/tasks/setup-Debian.yml for Debian-10-Buster, Debian-11-Bullseye, Debian-9-Stretch, Ubuntu-18.04-Bionic-Beaver, Ubuntu-20.04-Focal-Fossa, Ubuntu-21.04-Hirsute-Hippo, Ubuntu-21.10-Impish-Indri
included: /home/hawkwood/gas-station/roles/system/disks/tasks/setup-Windows.yml for Windows-10
TASK [professormanhattan.disks : Install Archlinux base-software] **************
Friday 07 January 2022 08:52:34 -0500 (0:00:00.182) 0:00:03.094 ********
fatal: [ArchLinux-Latest]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'archlinux_base_software' is undefined
The error appears to be in '/home/hawkwood/gas-station/roles/system/disks/tasks/setup-Archlinux.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
---
- name: Install Archlinux base-software
^ here
TASK [professormanhattan.disks : Include generic Linux tasks] ******************
Friday 07 January 2022 08:52:34 -0500 (0:00:00.109) 0:00:03.203 ********
included: /home/hawkwood/gas-station/roles/system/disks/tasks/setup-Linux.yml for CentOS-7, CentOS-8, CentOS-Stream-8, Fedora-33, Fedora-34, Fedora-35
TASK [professormanhattan.disks : Add labels to hard drives] ********************
Friday 07 January 2022 08:52:35 -0500 (0:00:00.113) 0:00:03.316 ********
TASK [professormanhattan.disks : Ensure /etc/fstab has proper entries] *********
Friday 07 January 2022 08:52:35 -0500 (0:00:00.083) 0:00:03.400 ********
TASK [professormanhattan.disks : Include generic Linux tasks] ******************
Friday 07 January 2022 08:52:35 -0500 (0:00:00.118) 0:00:03.518 ********
included: /home/hawkwood/gas-station/roles/system/disks/tasks/setup-Linux.yml for Debian-10-Buster, Debian-11-Bullseye, Debian-9-Stretch, Ubuntu-18.04-Bionic-Beaver, Ubuntu-20.04-Focal-Fossa, Ubuntu-21.04-Hirsute-Hippo, Ubuntu-21.10-Impish-Indri
TASK [professormanhattan.disks : Add labels to hard drives] ********************
Friday 07 January 2022 08:52:35 -0500 (0:00:00.115) 0:00:03.634 ********
TASK [professormanhattan.disks : Ensure /etc/fstab has proper entries] *********
Friday 07 January 2022 08:52:35 -0500 (0:00:00.085) 0:00:03.719 ********
PLAY RECAP *********************************************************************
ArchLinux-Latest : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
CentOS-7 : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
CentOS-8 : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
CentOS-Stream-8 : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Debian-10-Buster : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Debian-11-Bullseye : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Debian-9-Stretch : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Fedora-33 : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Fedora-34 : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Fedora-35 : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Ubuntu-18.04-Bionic-Beaver : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Ubuntu-20.04-Focal-Fossa : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Ubuntu-21.04-Hirsute-Hippo : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Ubuntu-21.10-Impish-Indri : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Windows-10 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Friday 07 January 2022 08:52:35 -0500 (0:00:00.163) 0:00:03.883 ********
===============================================================================
Gathering Facts --------------------------------------------------------- 2.87s
professormanhattan.disks : include_tasks -------------------------------- 0.18s
professormanhattan.disks : Ensure /etc/fstab has proper entries --------- 0.16s
professormanhattan.disks : Ensure /etc/fstab has proper entries --------- 0.12s
professormanhattan.disks : Include generic Linux tasks ------------------ 0.12s
professormanhattan.disks : Include generic Linux tasks ------------------ 0.11s
professormanhattan.disks : Install Archlinux base-software -------------- 0.11s
professormanhattan.disks : Add labels to hard drives -------------------- 0.09s
professormanhattan.disks : Add labels to hard drives -------------------- 0.08s
Playbook run took 0 days, 0 hours, 0 minutes, 3 seconds
[WARNING]: Invalid characters were found in group names but not replaced, use
-vvvv to see details
[WARNING]: Found both group and host with same name: Fedora-34
[WARNING]: Found both group and host with same name: Fedora-33
[WARNING]: Found both group and host with same name: CentOS-Stream-8
[WARNING]: Found both group and host with same name: CentOS-7
[WARNING]: Found both group and host with same name: CentOS-8
[WARNING]: Found both group and host with same name: Fedora-35
PLAY [Update platforms] ********************************************************
TASK [Gathering Facts] *********************************************************
Friday 07 January 2022 08:52:38 -0500 (0:00:00.014) 0:00:00.014 ********
ok: [localhost]
TASK [Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable] ***
Friday 07 January 2022 08:52:49 -0500 (0:00:10.868) 0:00:10.883 ********
skipping: [localhost]
PLAY [Destroy] *****************************************************************
TASK [Destroy molecule instance(s)] ********************************************
Friday 07 January 2022 08:52:49 -0500 (0:00:00.401) 0:00:11.285 ********
changed: [localhost] => (item=ArchLinux-Latest)
changed: [localhost] => (item=CentOS-7)
changed: [localhost] => (item=CentOS-8)
changed: [localhost] => (item=CentOS-Stream-8)
changed: [localhost] => (item=Debian-9-Stretch)
changed: [localhost] => (item=Debian-10-Buster)
changed: [localhost] => (item=Debian-11-Bullseye)
changed: [localhost] => (item=Fedora-33)
changed: [localhost] => (item=Fedora-34)
changed: [localhost] => (item=Fedora-35)
changed: [localhost] => (item=Ubuntu-18.04-Bionic-Beaver)
changed: [localhost] => (item=Ubuntu-20.04-Focal-Fossa)
changed: [localhost] => (item=Ubuntu-21.04-Hirsute-Hippo)
changed: [localhost] => (item=Ubuntu-21.10-Impish-Indri)
changed: [localhost] => (item=Windows-10)
TASK [Populate instance config] ************************************************
Friday 07 January 2022 08:55:22 -0500 (0:02:32.864) 0:02:44.149 ********
ok: [localhost]
TASK [Dump instance config] ****************************************************
Friday 07 January 2022 08:55:22 -0500 (0:00:00.197) 0:02:44.347 ********
changed: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=4 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
Friday 07 January 2022 08:55:23 -0500 (0:00:00.924) 0:02:45.272 ********
===============================================================================
Destroy molecule instance(s) ------------------------------------------ 152.86s
Gathering Facts -------------------------------------------------------- 10.87s
Dump instance config ---------------------------------------------------- 0.92s
Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable --- 0.40s
Populate instance config ------------------------------------------------ 0.20s
Playbook run took 0 days, 0 hours, 2 minutes, 45 seconds