more FQCN

This commit is contained in:
Louis Abel 2022-11-08 15:20:17 -07:00
parent e8e4660334
commit d8db92eec5
Signed by: label
GPG Key ID: B37E62D143879B36
2 changed files with 7 additions and 7 deletions

View File

@ -9,13 +9,13 @@
installation_prefix: ./
pre_tasks:
- name: Remove existing public roles
file:
ansible.builtin.file:
path: "{{ installation_prefix }}{{ roles_installation_dir }}"
state: absent
when: force_purge | bool
- name: Install all public roles and collections
command: >
ansible.builtin.command: >
ansible-galaxy role install
{{ ( force_purge | bool ) | ternary('--force','') }}
--role-file {{ installation_prefix }}roles/requirements.yml
@ -24,7 +24,7 @@
changed_when: '"Installing " in galaxy_install_role.stdout'
- name: Install needed collections
command: >
ansible.builtin.command: >
ansible-galaxy collection install
{{ ( force_purge | bool ) | ternary('--force-with-deps','') }}
-r {{ installation_prefix }}collections/requirements.yml
@ -33,13 +33,13 @@
changed_when: '"Installing " in galaxy_install_collection.stdout'
- name: cleanup old ssh known_hosts - remove
file:
ansible.builtin.file:
path: "./tmp/known_hosts"
state: absent
mode: "0644"
- name: cleanup old ssh known_hosts - blank
file:
ansible.builtin.file:
path: "./tmp/known_hosts"
state: touch
mode: "0644"

View File

@ -5,7 +5,7 @@
pre_tasks:
- name: Check if ansible cannot be run here
stat:
ansible.builtin.stat:
path: /etc/no-ansible
register: no_ansible
@ -17,7 +17,7 @@
fail_msg: "/etc/no-ansible exists - skipping run on this node"
- name: Enable the proper copr for gitea
command: "dnf copr enable nalika/gitea -y"
ansible.builtin.command: "dnf copr enable nalika/gitea -y"
check_mode: false
changed_when: "1 != 1"