summaryrefslogtreecommitdiffstats
path: root/roles/ansible/tasks/main.yml
blob: f792738245e1bb0f4510d441584d3128de25cb98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
# Install ansible client

- name: Install Ansible
  yum:
    pkg: ansible
    state: installed
  when: ansible_pkg_mgr == "yum"

- name: Install Ansible
  dnf:
    pkg: ansible
    state: installed
  when: ansible_pkg_mgr == "dnf"

- include: config.yml
  vars:
    cfg_options: "{{ ans_config }}"