|
|
@ -14,12 +14,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- block:
|
|
|
|
- block:
|
|
|
|
- set_fact: highlevel_package_manager='dnf'
|
|
|
|
- name: "package manager is dnf"
|
|
|
|
- set_fact: lowlevel_package_manager='rpm'
|
|
|
|
set_fact: highlevel_package_manager='dnf'
|
|
|
|
|
|
|
|
- name: "lowlevel package manager is rpm"
|
|
|
|
|
|
|
|
set_fact: lowlevel_package_manager='rpm'
|
|
|
|
when: ansible_distribution == 'Fedora'
|
|
|
|
when: ansible_distribution == 'Fedora'
|
|
|
|
- block:
|
|
|
|
- block:
|
|
|
|
- set_fact: highlevel_package_manager='apt'
|
|
|
|
- name: "package manager is apt"
|
|
|
|
- set_fact: lowlevel_package_manager='dpkg'
|
|
|
|
set_fact: highlevel_package_manager='apt'
|
|
|
|
|
|
|
|
- name: "lowlevel package manager is dpkg"
|
|
|
|
|
|
|
|
set_fact: lowlevel_package_manager='dpkg'
|
|
|
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
|
|
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
|
|
|
- name: "configure"
|
|
|
|
- name: "configure"
|
|
|
|
template: src=etckeeper.conf.j2
|
|
|
|
template: src=etckeeper.conf.j2
|
|
|
|