]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-deploy-pull-requests: drop state parameter 1582/head
authorKefu Chai <kchai@redhat.com>
Wed, 3 Jun 2020 07:34:39 +0000 (15:34 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 3 Jun 2020 07:56:15 +0000 (15:56 +0800)
since state is "present" by default, there is no need to specify it
explicitly:
see
https://docs.ansible.com/ansible/latest/modules/apt_module.html#parameters

the desired package state should be "present" instead of "installed".

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-deploy-pull-requests/setup/playbooks/tasks/ubuntu.yml

index f30cae12ac2b11e633aaed98fe82360be349ea34..359bc9c4c64e8041d7fb08c2f5d508cda62a8e32 100644 (file)
@@ -3,7 +3,7 @@
     action: apt update_cache=yes
 
   - name: install python requirements
-    action: apt pkg={{ item }} state=installed
+    action: apt pkg={{ item }}
     with_items:
       - python-software-properties
       - python-dev