#17 fas_client / fas_server: update package command to not use items
Merged 4 years ago by pingou. Opened 4 years ago by abompard.
fedora-infra/ abompard/ansible fix-with-items  into  master

@@ -9,10 +9,11 @@ 

  # nss_db is needed to store user/group info.

  #

  - name: install package needed for fas-client

-   package: state=present name={{ item }}

-   with_items:

-   - fas-clients

-   - cronie

+   package:

+     state: present

+     name:

+     - fas-clients

+     - cronie

    tags:

    - packages

    - fas_client

file modified
+16 -14
@@ -2,25 +2,27 @@ 

  # Tasks to set up fas_server

  

  - name: install needed packages

-   package: name={{ item }} state=present

-   with_items:

-   - fas

-   - fas-plugin-yubikey

-   - python-turbojson

-   - python-tgcaptcha

-   - httpd

-   - mod_wsgi

-   - python-bunch

-   - python-requests-kerberos

+   package:

+     state: present

+     name:

+     - fas

+     - fas-plugin-yubikey

+     - python-turbojson

+     - python-tgcaptcha

+     - httpd

+     - mod_wsgi

+     - python-bunch

+     - python-requests-kerberos

    tags:

    - packages

    - fas

  

  - name: install needed packages

-   package: name={{ item }} state=present

-   with_items:

-   - krb5-workstation

-   - python-requests-kerberos

+   package:

+     state: present

+     name:

+     - krb5-workstation

+     - python-requests-kerberos

    tags:

    - packages

    - fas

no initial comment

rebased onto ea1c8eabd26339d8216032423f574f5728aa77bb

4 years ago

rebased onto ea1c8eabd26339d8216032423f574f5728aa77bb

4 years ago

Pull-Request has been merged by pingou

4 years ago