forked from evolix/ansible-roles
evolinux-base: etc-git is included after apt customization
APT sources must be customized before installing any package
This commit is contained in:
parent
f050608596
commit
ee80235e14
|
@ -10,6 +10,21 @@ logcheck_alert_email: Null
|
||||||
raid_alert_email: Null
|
raid_alert_email: Null
|
||||||
postfix_alias_email: Null
|
postfix_alias_email: Null
|
||||||
|
|
||||||
|
# apt
|
||||||
|
|
||||||
|
evolinux_apt_include: True
|
||||||
|
|
||||||
|
evolinux_apt_conf: True
|
||||||
|
evolinux_apt_hooks: True
|
||||||
|
evolinux_apt_replace_default_sources: True
|
||||||
|
evolinux_apt_public_sources: True
|
||||||
|
evolinux_apt_upgrade: True
|
||||||
|
evolinux_apt_remove_aptitude: True
|
||||||
|
|
||||||
|
# etc-git
|
||||||
|
|
||||||
|
evolinux_etcgit_include: True
|
||||||
|
|
||||||
# hostname
|
# hostname
|
||||||
|
|
||||||
evolinux_hostname_include: True
|
evolinux_hostname_include: True
|
||||||
|
@ -31,17 +46,6 @@ evolinux_kernel_disable_tcp_timestamps: True
|
||||||
evolinux_kernel_reduce_swapiness: True
|
evolinux_kernel_reduce_swapiness: True
|
||||||
evolinux_kernel_cve20165696: True
|
evolinux_kernel_cve20165696: True
|
||||||
|
|
||||||
# apt
|
|
||||||
|
|
||||||
evolinux_apt_include: True
|
|
||||||
|
|
||||||
evolinux_apt_conf: True
|
|
||||||
evolinux_apt_hooks: True
|
|
||||||
evolinux_apt_replace_default_sources: True
|
|
||||||
evolinux_apt_public_sources: True
|
|
||||||
evolinux_apt_upgrade: True
|
|
||||||
evolinux_apt_remove_aptitude: True
|
|
||||||
|
|
||||||
# fstab
|
# fstab
|
||||||
|
|
||||||
evolinux_fstab_include: True
|
evolinux_fstab_include: True
|
||||||
|
|
|
@ -5,6 +5,15 @@
|
||||||
when:
|
when:
|
||||||
- ansible_distribution != "Debian" or ansible_distribution_major_version | version_compare('8', '<')
|
- ansible_distribution != "Debian" or ansible_distribution_major_version | version_compare('8', '<')
|
||||||
|
|
||||||
|
- name: Apt configuration
|
||||||
|
include: apt.yml
|
||||||
|
when: evolinux_apt_include
|
||||||
|
|
||||||
|
- name: /etc versioning with Git
|
||||||
|
include_role:
|
||||||
|
name: etc-git
|
||||||
|
when: evolinux_etcgit_include
|
||||||
|
|
||||||
- name: Hostname
|
- name: Hostname
|
||||||
include: hostname.yml
|
include: hostname.yml
|
||||||
when: evolinux_hostname_include
|
when: evolinux_hostname_include
|
||||||
|
@ -13,10 +22,6 @@
|
||||||
include: kernel.yml
|
include: kernel.yml
|
||||||
when: evolinux_kernel_include
|
when: evolinux_kernel_include
|
||||||
|
|
||||||
- name: Apt configuration and packages install
|
|
||||||
include: apt.yml
|
|
||||||
when: evolinux_apt_include
|
|
||||||
|
|
||||||
- name: Fstab configuration
|
- name: Fstab configuration
|
||||||
include: fstab.yml
|
include: fstab.yml
|
||||||
when: evolinux_fstab_include
|
when: evolinux_fstab_include
|
||||||
|
|
Loading…
Reference in a new issue