diff options
Diffstat (limited to 'ansible/roles/package-repository-check/tasks')
-rwxr-xr-x[-rw-r--r--] | ansible/roles/package-repository-check/tasks/Debian.yml | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | ansible/roles/package-repository-check/tasks/RedHat.yml | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | ansible/roles/package-repository-check/tasks/main.yml | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/ansible/roles/package-repository-check/tasks/Debian.yml b/ansible/roles/package-repository-check/tasks/Debian.yml index 8fb37848..45a2b1cf 100644..100755 --- a/ansible/roles/package-repository-check/tasks/Debian.yml +++ b/ansible/roles/package-repository-check/tasks/Debian.yml @@ -12,7 +12,7 @@ update_cache: yes state: latest tags: - - skip_ansible_lint # Prevent '[403] Package installs should not use latest' ansible lint task rule + - skip_ansible_lint # Prevent '[403] Package installs should not use latest' ansible lint task rule rescue: - name: Fail if apt cache updating failed fail: @@ -31,4 +31,6 @@ create: yes - name: Make DNS settings permanent - command: service resolvconf restart + service: + name: resolvconf + state: restarted diff --git a/ansible/roles/package-repository-check/tasks/RedHat.yml b/ansible/roles/package-repository-check/tasks/RedHat.yml index ed496f99..e841f172 100644..100755 --- a/ansible/roles/package-repository-check/tasks/RedHat.yml +++ b/ansible/roles/package-repository-check/tasks/RedHat.yml @@ -12,7 +12,7 @@ update_cache: yes state: latest tags: - - skip_ansible_lint # Prevent '[403] Package installs should not use latest' ansible lint task rule + - skip_ansible_lint # Prevent '[403] Package installs should not use latest' ansible lint task rule rescue: - name: Fail if yum cache updating failed fail: diff --git a/ansible/roles/package-repository-check/tasks/main.yml b/ansible/roles/package-repository-check/tasks/main.yml index 11fb3296..ca43715e 100644..100755 --- a/ansible/roles/package-repository-check/tasks/main.yml +++ b/ansible/roles/package-repository-check/tasks/main.yml @@ -7,5 +7,5 @@ # Successfull prior invocation of 'package-repository' and 'nginx' role on infrastructure hosts # is prerequisite for playing this one on 'kubernetes' group. -#Set of tasks designated to failing fast if configured repos are not functioning properly +# Set of tasks designated to failing fast if configured repos are not functioning properly - include_tasks: "{{ ansible_os_family }}.yml" |