@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
188 lines (164 loc) • 9.99 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
Starting galaxy role install process
[WARNING]: - professormanhattan.homebrew (master) is already installed - use
--force to change version to unspecified
[WARNING]: - professormanhattan.snapd (master) is already installed - use
--force to change version to unspecified
Starting galaxy collection install process
Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`.
task: [symlink:role] mkdir -p "$HOME/.ansible/roles"
task: [symlink:role] rm -rf "$HOME/.ansible/roles/professormanhattan.bandwhich"
task: [symlink:role] ln -sf "$PWD" "$HOME/.ansible/roles/professormanhattan.bandwhich"
[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-35
[WARNING]: Found both group and host with same name: Fedora-34
[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-33
[WARNING]: Found both group and host with same name: CentOS-8
PLAY [Update platforms] ********************************************************
TASK [Gathering Facts] *********************************************************
Thursday 06 January 2022 07:04:37 -0500 (0:00:00.015) 0:00:00.015 ******
ok: [localhost]
TASK [Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable] ***
Thursday 06 January 2022 07:04:47 -0500 (0:00:09.499) 0:00:09.515 ******
skipping: [localhost]
PLAY [Destroy] *****************************************************************
TASK [Destroy molecule instance(s)] ********************************************
Thursday 06 January 2022 07:04:47 -0500 (0:00:00.412) 0:00:09.927 ******
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] ************************************************
Thursday 06 January 2022 07:05:16 -0500 (0:00:28.959) 0:00:38.886 ******
ok: [localhost]
TASK [Dump instance config] ****************************************************
Thursday 06 January 2022 07:05:16 -0500 (0:00:00.175) 0:00:39.062 ******
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Thursday 06 January 2022 07:05:17 -0500 (0:00:00.337) 0:00:39.400 ******
===============================================================================
Destroy molecule instance(s) ------------------------------------------- 28.96s
Gathering Facts --------------------------------------------------------- 9.50s
Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable --- 0.41s
Dump instance config ---------------------------------------------------- 0.34s
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: Fedora-34
[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-8
[WARNING]: Found both group and host with same name: Fedora-33
[WARNING]: Found both group and host with same name: CentOS-Stream-8
ERROR! the role 'rust' was not found in ansible.legacy:/home/hawkwood/gas-station/roles/deprecated/bandwhich/molecule/roles:/home/hawkwood/.cache/molecule/bandwhich/default/roles:/home/hawkwood/gas-station/roles/deprecated:/home/hawkwood/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/hawkwood/.cache/ansible-compat/182db7/roles:/home/hawkwood/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/hawkwood/gas-station/roles/deprecated:/home/hawkwood/gas-station/roles/deprecated/bandwhich/molecule
The error appears to be in '/home/hawkwood/gas-station/roles/deprecated/bandwhich/meta/main.yml': line 31, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
dependencies:
- role: rust
^ here
[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-35
[WARNING]: Found both group and host with same name: Fedora-34
[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: CentOS-8
[WARNING]: Found both group and host with same name: Fedora-33
PLAY [Update platforms] ********************************************************
TASK [Gathering Facts] *********************************************************
Thursday 06 January 2022 07:05:19 -0500 (0:00:00.015) 0:00:00.015 ******
ok: [localhost]
TASK [Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable] ***
Thursday 06 January 2022 07:05:29 -0500 (0:00:09.591) 0:00:09.606 ******
skipping: [localhost]
PLAY [Destroy] *****************************************************************
TASK [Destroy molecule instance(s)] ********************************************
Thursday 06 January 2022 07:05:29 -0500 (0:00:00.362) 0:00:09.969 ******
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] ************************************************
Thursday 06 January 2022 07:05:58 -0500 (0:00:28.795) 0:00:38.765 ******
ok: [localhost]
TASK [Dump instance config] ****************************************************
Thursday 06 January 2022 07:05:58 -0500 (0:00:00.176) 0:00:38.942 ******
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Thursday 06 January 2022 07:05:59 -0500 (0:00:00.366) 0:00:39.309 ******
===============================================================================
Destroy molecule instance(s) ------------------------------------------- 28.80s
Gathering Facts --------------------------------------------------------- 9.59s
Dump instance config ---------------------------------------------------- 0.37s
Filtering platforms list using the group defined in the MOLECULE_GROUP environment variable --- 0.36s
Populate instance config ------------------------------------------------ 0.18s
Playbook run took 0 days, 0 hours, 0 minutes, 39 seconds