#17 fas_client / fas_server: update package command to not use items
Merged 6 months ago by pingou. Opened 6 months 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 ea1c8ea

6 months ago

rebased onto ea1c8ea

6 months ago

Pull-Request has been merged by pingou

6 months ago