Undefined Title

Undefined Title

Install jq with yum by ansible on CentOS7

I usually forget way to install jq by ansible. I memorize it.

- hosts: all
  become: yes
  gather_facts: no
  tasks:
    - name: Add repository
      yum_repository:
        name: epel
        description: EPEL YUM repo
        baseurl: https://download.fedoraproject.org/pub/epel/$releasever/$basearch/
        gpgcheck: yes

    - rpm_key:
        state: present
        key: https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7

    - yum: name=jq