ansible-tuto
ansible-tuto copied to clipboard
Step_04 show case for idempotency is broken
With step-04/apache.yml
When I perform second try to
$ ansible-playbook -i step-04/hosts -l host1.example.org step-04/apache.yml
I always got
PLAY RECAP *********************************************************************
host1.example.org : ok=2 changed=1 unreachable=0 failed=0
May be set update_cache to true in apt task
In this case I got
```PLAY RECAP *********************************************************************
host1.example.org : ok=2 changed=0 unreachable=0 failed=0
Thanks @qwazer I'll check this out. What Ansible version are you running ?
ansible 2.2.0.0
May be set update_cache to true in apt task
Sorry, I mean set update_cache to false
Oh okay. So using cache_valid_time is probably the way to go.
I'll try that and report back.
Thanks for the heads up.
Le 15 déc. 2016 18:45, "qwazer" [email protected] a écrit :
May be set update_cache to true in apt task
Sorry, I mean set update_cache to false
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/leucos/ansible-tuto/issues/96#issuecomment-267393073, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJsfXZHPVV4_4POZYDmsmwj9VGiBKAhks5rIXy9gaJpZM4LMr3O .