From ef04b31de8fb2584c6f7141c8e6f3c4cf9c73f81 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Nov 28 2017 06:18:16 +0000 Subject: Fix molecule playbooks and debian/ubuntu -> apt (was apk...) --- diff --git a/molecule/default/playbook.yml b/molecule/default/playbook.yml index 959ccec..4dd659f 100644 --- a/molecule/default/playbook.yml +++ b/molecule/default/playbook.yml @@ -1,6 +1,8 @@ --- - name: Converge hosts: all + become: yes + gather_facts: no roles: - role: ansible-role-update diff --git a/molecule/vagrant/playbook.yml b/molecule/vagrant/playbook.yml index 959ccec..4dd659f 100644 --- a/molecule/vagrant/playbook.yml +++ b/molecule/vagrant/playbook.yml @@ -1,6 +1,8 @@ --- - name: Converge hosts: all + become: yes + gather_facts: no roles: - role: ansible-role-update diff --git a/tasks/main.yml b/tasks/main.yml index e27699c..12dfa66 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -47,9 +47,8 @@ tags: - skip_ansible_lint - - name: update all software (Debian/Ubuntu) - apk: + apt: update_cache: yes upgrade: yes notify: reboot