diff options
Diffstat (limited to 'puomi-playbook.yml')
-rw-r--r-- | puomi-playbook.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/puomi-playbook.yml b/puomi-playbook.yml index 73b6c30..8b4f470 100644 --- a/puomi-playbook.yml +++ b/puomi-playbook.yml @@ -13,6 +13,16 @@ apt_repository: repo: | deb http://deb.debian.org/debian {{ hostvars[inventory_hostname]["ansible_distribution_release"] }} contrib non-free + update_cache: no + + - name: "update apt lists" + shell: | + set -xeu + ls -la /etc + rm /etc/resolv.conf + echo nameserver 8.8.8.8 > /etc/resolv.conf + apt-get update + echo update done - name: "install software" apt: |