]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
ansible-lint: Fix "Package installs should not use latest" warning
authorAlexander Barton <alex@barton.de>
Wed, 3 May 2017 11:34:39 +0000 (13:34 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 3 May 2017 11:43:39 +0000 (13:43 +0200)
Indeed, we don't want to install updates unintentionally!

roles/sshd/tasks/main.yml

index 587de2e0a04f29f74795561c501a04eca1ec81a8..9a108d6051793dbf76bee633343948eca87519a6 100644 (file)
@@ -6,7 +6,7 @@
     - packages
     - sshd
   apt: >
-    state=latest
+    state=present
     name={{ item }}
   with_items:
     - openssh-blacklist-extra