Skip to content
Snippets Groups Projects
Commit 0cea94f9 authored by Chris Hines's avatar Chris Hines
Browse files

retry apt instal lvncserver incase of failure

parent 25739edb
No related branches found
No related tags found
3 merge requests!518modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!517modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!513modifications to playbooks because 1. we're not using ldap 2. we're mounting...
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
- name: install system packages apt - name: install system packages apt
apt: name={{ system_packages }} state=present update_cache=true force=yes apt: name={{ system_packages }} state=present update_cache=true force=yes
become: true become: true
register: apt_status
until: apt_status is success
delay: 6
retries: 10
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: force the use of KDE desktop - name: force the use of KDE desktop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment