Compare commits

..
5 Commits
Author SHA1 Message Date
Jeff Geerling 3f133ad7ab Remove deprecated warn arg from command and shell module invocations. 2022-11-26 22:51:08 -06:00
Jeff Geerling c6297ddebb Add role_name_check skipping to all molecule test suites. 2022-06-01 22:20:31 -05:00
Jeff GeerlingandGitHub eb4647ed9c Merge pull request #166 from tobiashuste/fix-snap-initial-dry-run
Fix snap symlink task failing in initial dry-run
2022-01-19 08:48:29 -06:00
Jeff Geerling 31beafb338 Update release workflow for more consistency. 2021-12-27 11:34:47 -06:00
Tobias Huste 1fc3a76d34 Fix snap symlink task failing in initial dry-run
Due to the certbot package not being really installed on the initial
dry-run the symlink generation fails. The corresponding will be ignored
in check mode.
2021-11-24 11:11:03 +01:00
4 changed files with 6 additions and 6 deletions
+4 -2
View File
@@ -32,7 +32,9 @@ jobs:
python-version: '3.x' python-version: '3.x'
- name: Install Ansible. - name: Install Ansible.
run: pip3 install ansible-base run: pip3 install ansible-core
- name: Trigger a new import on Galaxy. - name: Trigger a new import on Galaxy.
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2) run: >-
ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }}
$(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
+1
View File
@@ -1,4 +1,5 @@
--- ---
role_name_check: 1
dependency: dependency:
name: galaxy name: galaxy
driver: driver:
+1
View File
@@ -34,6 +34,7 @@
src: /snap/bin/certbot src: /snap/bin/certbot
dest: /usr/bin/certbot dest: /usr/bin/certbot
state: link state: link
ignore_errors: "{{ ansible_check_mode }}"
- name: Set Certbot script variable. - name: Set Certbot script variable.
set_fact: set_fact:
-4
View File
@@ -12,8 +12,6 @@
- name: Enable DNF module for CentOS 8.3+. - name: Enable DNF module for CentOS 8.3+.
shell: | shell: |
dnf config-manager --set-enabled powertools dnf config-manager --set-enabled powertools
args:
warn: false
register: dnf_module_enable register: dnf_module_enable
changed_when: false changed_when: false
@@ -22,8 +20,6 @@
- name: Enable DNF module for CentOS 8.08.2. - name: Enable DNF module for CentOS 8.08.2.
shell: | shell: |
dnf config-manager --set-enabled PowerTools dnf config-manager --set-enabled PowerTools
args:
warn: false
register: dnf_module_enable register: dnf_module_enable
changed_when: false changed_when: false