Merge branch 'master' of git.ducamps.win:ansible-roles/system
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
commit
f70f8bda3b
19
.drone.yml
Normal file
19
.drone.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: lint
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: ansible linting
|
||||||
|
image: cytopia/ansible-lint
|
||||||
|
|
||||||
|
commands:
|
||||||
|
- ansible-lint tasks/main.yml
|
||||||
|
- name: markdown linting
|
||||||
|
image: 06kellyjac/markdownlint-cli
|
||||||
|
commands:
|
||||||
|
- markdownlint .
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
9
.markdownlint.yaml
Normal file
9
.markdownlint.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
# Default state for all rules
|
||||||
|
default: true
|
||||||
|
MD009:
|
||||||
|
strict: false
|
||||||
|
|
||||||
|
MD013: false
|
||||||
|
MD033: false
|
||||||
|
MD024: false
|
33
.yamllint
Normal file
33
.yamllint
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
# Based on ansible-lint config
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
braces:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
brackets:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
colons:
|
||||||
|
max-spaces-after: -1
|
||||||
|
level: error
|
||||||
|
commas:
|
||||||
|
max-spaces-after: -1
|
||||||
|
level: error
|
||||||
|
comments: disable
|
||||||
|
comments-indentation: disable
|
||||||
|
document-start: disable
|
||||||
|
empty-lines:
|
||||||
|
max: 3
|
||||||
|
level: error
|
||||||
|
hyphens:
|
||||||
|
level: error
|
||||||
|
indentation: disable
|
||||||
|
key-duplicates: enable
|
||||||
|
line-length: disable
|
||||||
|
new-line-at-end-of-file: disable
|
||||||
|
new-lines:
|
||||||
|
type: unix
|
||||||
|
trailing-spaces: disable
|
||||||
|
truthy: disable
|
@ -1,104 +1,119 @@
|
|||||||
|
---
|
||||||
user:
|
user:
|
||||||
name: user
|
name: user
|
||||||
arch_base_locale: fr_FR.UTF-8
|
arch_base_locale: fr_FR.UTF-8
|
||||||
arch_base_keymap: fr
|
arch_base_keymap: fr
|
||||||
arch_base_timezone: Europe/Paris
|
arch_base_timezone: Europe/Paris
|
||||||
arch_base_locales: [
|
arch_base_locales:
|
||||||
"fr_FR.UTF-8",
|
- "fr_FR.UTF-8"
|
||||||
"en_US.UTF-8"
|
- "en_US.UTF-8"
|
||||||
]
|
|
||||||
time:
|
time:
|
||||||
hwclock: UTC
|
hwclock: UTC
|
||||||
timezone: Europe/Paris
|
timezone: Europe/Paris
|
||||||
|
|
||||||
system_base_softwares_arch:
|
system_base_softwares_arch:
|
||||||
- 'zsh'
|
- "zsh"
|
||||||
- 'stow'
|
- "stow"
|
||||||
- 'wol'
|
- "wol"
|
||||||
- 'nmap'
|
- "nmap"
|
||||||
- 'bind'
|
- "bind"
|
||||||
- 'rsync'
|
- "rsync"
|
||||||
- 'awesome-terminal-fonts'
|
- "awesome-terminal-fonts"
|
||||||
- 'wget'
|
- "wget"
|
||||||
- 'bat'
|
- "bat"
|
||||||
- 'diff-so-fancy'
|
- "diff-so-fancy"
|
||||||
- 'git'
|
- "git"
|
||||||
- 'htop'
|
- "htop"
|
||||||
- 'thefuck'
|
- "thefuck"
|
||||||
- 'tldr'
|
- "tldr"
|
||||||
- 'ntfs-3g'
|
- "ntfs-3g"
|
||||||
- 'python-lxml'
|
- "python-lxml"
|
||||||
- 'tmux'
|
- "tmux"
|
||||||
- 'vim'
|
- "vim"
|
||||||
- 'python-pip'
|
- "python-pip"
|
||||||
- 'pacman-contrib'
|
- "pacman-contrib"
|
||||||
- 'yarn'
|
- "yarn"
|
||||||
- 'npm'
|
- "npm"
|
||||||
- 'nethogs'
|
- "nethogs"
|
||||||
- 'iftop'
|
- "iftop"
|
||||||
- 'zip'
|
- "zip"
|
||||||
- 'unzip'
|
- "unzip"
|
||||||
- 'unrar'
|
- "unrar"
|
||||||
- 'git-lfs'
|
- "git-lfs"
|
||||||
- 'httpie'
|
- "httpie"
|
||||||
- 'lsof'
|
- "lsof"
|
||||||
- 'glances'
|
- "glances"
|
||||||
- 'ethtool'
|
- "ethtool"
|
||||||
- 'gnu-netcat'
|
- "gnu-netcat"
|
||||||
- 'netctl'
|
- "netctl"
|
||||||
- 'logrotate'
|
- "logrotate"
|
||||||
- 'otf-cascadia-code'
|
- "otf-cascadia-code"
|
||||||
- 'neovim'
|
- "neovim"
|
||||||
|
- "python-pynvim"
|
||||||
|
- "yamllint"
|
||||||
|
- "prettier"
|
||||||
|
- "fd"
|
||||||
|
- "fzf"
|
||||||
|
system_base_aur_soft:
|
||||||
|
- "nodejs-markdownlint-cli"
|
||||||
|
|
||||||
system_base_softwares_debian:
|
system_base_softwares_debian:
|
||||||
- 'zsh'
|
- "zsh"
|
||||||
- 'lsof'
|
- "lsof"
|
||||||
- 'glances'
|
- "glances"
|
||||||
- 'stow'
|
- "stow"
|
||||||
- 'wakeonlan'
|
- "wakeonlan"
|
||||||
- 'nmap'
|
- "nmap"
|
||||||
- 'dnsutils'
|
- "dnsutils"
|
||||||
- 'rsync'
|
- "rsync"
|
||||||
#- 'awesome-terminal-fonts'
|
# - 'awesome-terminal-fonts'
|
||||||
- 'wget'
|
- "wget"
|
||||||
#- 'bat'
|
# - 'bat'
|
||||||
#- 'diff-so-fancy'
|
# - 'diff-so-fancy'
|
||||||
- 'git'
|
- "git"
|
||||||
- 'htop'
|
- "htop"
|
||||||
- 'thefuck'
|
- "thefuck"
|
||||||
- 'tldr'
|
- "tldr"
|
||||||
- 'ntfs-3g'
|
- "ntfs-3g"
|
||||||
- 'python-lxml'
|
- "python-lxml"
|
||||||
- 'tmux'
|
- "tmux"
|
||||||
- 'neovim'
|
- "neovim"
|
||||||
- 'python-neovim'
|
- "python3-neovim"
|
||||||
- 'python-pip'
|
- "python3-pip"
|
||||||
- 'yarn'
|
- "yarn"
|
||||||
- 'npm'
|
- "npm"
|
||||||
- 'nethogs'
|
- "nethogs"
|
||||||
- 'iftop'
|
- "iftop"
|
||||||
- 'zip'
|
- "zip"
|
||||||
- 'unzip'
|
- "unzip"
|
||||||
- 'unrar'
|
- "unrar"
|
||||||
- 'git-lfs'
|
- "git-lfs"
|
||||||
- 'httpie'
|
- "httpie"
|
||||||
- 'ethtool'
|
- "ethtool"
|
||||||
- 'traceroute'
|
- "traceroute"
|
||||||
- 'fonts-cascadia-code'
|
- "fonts-cascadia-code"
|
||||||
|
- "fd-find"
|
||||||
|
- "fzf"
|
||||||
|
|
||||||
system_upgrade: false
|
system_upgrade: false
|
||||||
system_arch_local_mirror:
|
system_arch_local_mirror:
|
||||||
system_user: []
|
system_user: []
|
||||||
#- name: toto
|
# - name: toto
|
||||||
#home: /home/toto
|
# home: /home/toto
|
||||||
#shell: '/bin/zsh'
|
# shell: '/bin/zsh'
|
||||||
#group: ezfef
|
# group: ezfef
|
||||||
system_group: []
|
system_group: []
|
||||||
keystodeploy: []
|
keystodeploy: []
|
||||||
#- name: toto
|
# - name: toto
|
||||||
# user: toto
|
# user: toto
|
||||||
# ssjkey: lrlrl
|
# ssjkey: lrlrl
|
||||||
privatekeytodeploy: []
|
privatekeytodeploy: []
|
||||||
#- user: root
|
# - user: root
|
||||||
# keyfile: /root/.ssh/id_rsa
|
# keyfile: /root/.ssh/id_rsa
|
||||||
# privatekey: {{ vault_privatekey }}
|
# privatekey: {{ vault_privatekey }}
|
||||||
|
|
||||||
|
# Custom hosts entries to be added
|
||||||
|
hosts_entries: []
|
||||||
|
|
||||||
|
# Custom host file snippets to be added
|
||||||
|
hosts_file_snippets: []
|
||||||
|
@ -1,25 +1,25 @@
|
|||||||
- name: upgrade arch-keyring
|
- name: upgrade arch-keyring
|
||||||
pacman:
|
pacman:
|
||||||
state: latest # not required. choices: absent;latest;present. Desired state of the package.
|
state: latest # not required. choices: absent;latest;present. Desired state of the package.
|
||||||
name: archlinux-keyring
|
name: archlinux-keyring
|
||||||
force: true # not required. When removing package - force remove package, without any checks. When update_cache - force redownload repo databases.
|
force: true # not required. When removing package - force remove package, without any checks. When update_cache - force redownload repo databases.
|
||||||
update_cache: false
|
update_cache: false
|
||||||
become: yes
|
become: yes
|
||||||
when: system_upgrade and ansible_facts['os_family'] == "Archlinux"
|
when: system_upgrade and ansible_facts['os_family'] == "Archlinux"
|
||||||
|
|
||||||
- name: upgrade system
|
- name: upgrade system
|
||||||
pacman:
|
pacman:
|
||||||
state: latest # not required. choices: absent;latest;present. Desired state of the package.
|
state: latest # not required. choices: absent;latest;present. Desired state of the package.
|
||||||
upgrade: true # not required. Whether or not to upgrade whole system.
|
upgrade: true # not required. Whether or not to upgrade whole system.
|
||||||
force: true # not required. When removing package - force remove package, without any checks. When update_cache - force redownload repo databases.
|
force: true # not required. When removing package - force remove package, without any checks. When update_cache - force redownload repo databases.
|
||||||
update_cache: false
|
update_cache: false
|
||||||
become: yes
|
become: yes
|
||||||
when: system_upgrade and ansible_facts['os_family'] == "Archlinux"
|
when: system_upgrade and ansible_facts['os_family'] == "Archlinux"
|
||||||
register: upgrade
|
register: upgrade
|
||||||
|
|
||||||
- name: Reboot updates to apply
|
- name: Reboot updates to apply
|
||||||
reboot:
|
reboot:
|
||||||
reboot_timeout: 3600
|
reboot_timeout: 3600
|
||||||
when: upgrade.changed and "linux" in upgrade.packages and system_upgrade and ansible_facts['os_family'] == "Archlinux"
|
when: upgrade.changed and "linux" in upgrade.packages and system_upgrade and ansible_facts['os_family'] == "Archlinux"
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
@ -30,6 +30,13 @@
|
|||||||
become: yes
|
become: yes
|
||||||
when: ansible_facts['os_family'] == "Archlinux"
|
when: ansible_facts['os_family'] == "Archlinux"
|
||||||
|
|
||||||
|
- name: install aur workstation soft
|
||||||
|
aur:
|
||||||
|
name: "{{ system_base_aur_soft }}"
|
||||||
|
state: present
|
||||||
|
become: yes
|
||||||
|
become_user: aur_builder
|
||||||
|
when: ansible_facts['os_family'] == "Archlinux"
|
||||||
|
|
||||||
- name: launch debian base install software
|
- name: launch debian base install software
|
||||||
apt:
|
apt:
|
||||||
@ -39,20 +46,18 @@
|
|||||||
become: yes
|
become: yes
|
||||||
when: ansible_facts['os_family'] == "Debian"
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
|
||||||
|
|
||||||
- name: GITHUB | Get current version of bat
|
- name: GITHUB | Get current version of bat
|
||||||
shell: >
|
shell: >
|
||||||
warn=False
|
warn=False
|
||||||
curl --silent https://github.com/sharkdp/bat/releases/latest |
|
curl --silent https://github.com/sharkdp/bat/releases/latest |
|
||||||
grep 'tag' |
|
grep 'tag' |
|
||||||
sed -E 's/.*v([0-9].[0-9][0-9].[0-9]).*/\1/'
|
sed -E 's/.*v([0-9].[0-9][0-9].[0-9]).*/\1/'
|
||||||
register: bat_version
|
register: bat_version
|
||||||
failed_when: >
|
failed_when: >
|
||||||
bat_version.rc != 0 or
|
bat_version.rc != 0 or
|
||||||
not bat_version.stdout|regex_search('\w+\.\w+\.\w+')
|
not bat_version.stdout|regex_search('\w+\.\w+\.\w+')
|
||||||
when: ansible_facts['os_family'] == "Debian"
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
|
||||||
|
|
||||||
- name: DEBIAN | Set URL to download bins
|
- name: DEBIAN | Set URL to download bins
|
||||||
set_fact:
|
set_fact:
|
||||||
debian_url: "https://github.com/sharkdp/bat/releases/download/v{{ bat_version.stdout }}/bat_{{ bat_version.stdout }}_amd64.deb"
|
debian_url: "https://github.com/sharkdp/bat/releases/download/v{{ bat_version.stdout }}/bat_{{ bat_version.stdout }}_amd64.deb"
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
- name: Ensure hostname set
|
- name: Ensure hostname set
|
||||||
hostname:
|
hostname:
|
||||||
name: "{{ inventory_hostname }}"
|
name: "{{ inventory_hostname }}"
|
||||||
|
use: systemd
|
||||||
become: yes
|
become: yes
|
8
tasks/hosts.yml
Normal file
8
tasks/hosts.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
- name: Install custom hosts file
|
||||||
|
become: true
|
||||||
|
template:
|
||||||
|
src: etc_hosts.j2
|
||||||
|
dest: "{{ hosts_file }}"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
@ -1,4 +1,5 @@
|
|||||||
#- include_tasks: hostname.yml
|
#- include_tasks: hostname.yml
|
||||||
|
- include_tasks: hosts.yml
|
||||||
- include_tasks: hostname.yml
|
- include_tasks: hostname.yml
|
||||||
- include_tasks: locales.yml
|
- include_tasks: locales.yml
|
||||||
- include_tasks: time.yml
|
- include_tasks: time.yml
|
||||||
|
@ -1,16 +1,42 @@
|
|||||||
- name: copy ssh config for user
|
- name: copy ssh config for user
|
||||||
become: yes
|
become: yes
|
||||||
copy:
|
copy:
|
||||||
dest: /home/{{item}}/.ssh/ # required. Remote absolute path where the file should be copied to. If I(src) is a directory, this must be a directory too. If I(dest) is a nonexistent path and if either I(dest) ends with "/" or I(src) is a directory, I(dest) is created. If I(src) and I(dest) are files, the parent directory of I(dest) isn't created: the task fails if it doesn't already exist.
|
dest: /home/{{item}}/.ssh/ # required. Remote absolute path where the file should be copied to. If I(src) is a directory, this must be a directory too. If I(dest) is a nonexistent path and if either I(dest) ends with "/" or I(src) is a directory, I(dest) is created. If I(src) and I(dest) are files, the parent directory of I(dest) isn't created: the task fails if it doesn't already exist.
|
||||||
src: "ssh/config" # not required. Local path to a file to copy to the remote server; can be absolute or relative. If path is a directory, it is copied recursively. In this case, if path ends with "/", only inside contents of that directory are copied to destination. Otherwise, if it does not end with "/", the directory itself with all contents is copied. This behavior is similar to Rsync.
|
src: "ssh/config" # not required. Local path to a file to copy to the remote server; can be absolute or relative. If path is a directory, it is copied recursively. In this case, if path ends with "/", only inside contents of that directory are copied to destination. Otherwise, if it does not end with "/", the directory itself with all contents is copied. This behavior is similar to Rsync.
|
||||||
force: yes # not required. the default is C(yes), which will replace the remote file when contents are different than the source. If C(no), the file will only be transferred if the destination does not exist.
|
force: yes # not required. the default is C(yes), which will replace the remote file when contents are different than the source. If C(no), the file will only be transferred if the destination does not exist.
|
||||||
remote_src: no # not required. If C(no), it will search for I(src) at originating/master machine.,If C(yes) it will go to the remote/target machine for the I(src). Default is C(no).,Currently I(remote_src) does not support recursive copying.,I(remote_src) only works with C(mode=preserve) as of version 2.6.
|
remote_src: no # not required. If C(no), it will search for I(src) at originating/master machine.,If C(yes) it will go to the remote/target machine for the I(src). Default is C(no).,Currently I(remote_src) does not support recursive copying.,I(remote_src) only works with C(mode=preserve) as of version 2.6.
|
||||||
mode: "600" # not required. Mode the file or directory should be. For those used to I(/usr/bin/chmod) remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like C(0644) or C(01777)) or quote it (like C('644') or C('1777')) so Ansible receives a string and can do its own conversion from string into number. Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results. As of version 1.8, the mode may be specified as a symbolic mode (for example, C(u+rwx) or C(u=rw,g=r,o=r)). As of version 2.3, the mode may also be the special string C(preserve). C(preserve) means that the file will be given the same permissions as the source file.
|
mode: "600" # not required. Mode the file or directory should be. For those used to I(/usr/bin/chmod) remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like C(0644) or C(01777)) or quote it (like C('644') or C('1777')) so Ansible receives a string and can do its own conversion from string into number. Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results. As of version 1.8, the mode may be specified as a symbolic mode (for example, C(u+rwx) or C(u=rw,g=r,o=r)). As of version 2.3, the mode may also be the special string C(preserve). C(preserve) means that the file will be given the same permissions as the source file.
|
||||||
selevel: s0 # not required. Level part of the SELinux file context. This is the MLS/MCS attribute, sometimes known as the C(range). C(_default) feature works as for I(seuser).
|
selevel: s0 # not required. Level part of the SELinux file context. This is the MLS/MCS attribute, sometimes known as the C(range). C(_default) feature works as for I(seuser).
|
||||||
owner: "{{item}}" # not required. Name of the user that should own the file/directory, as would be fed to I(chown).
|
owner: "{{item}}" # not required. Name of the user that should own the file/directory, as would be fed to I(chown).
|
||||||
with_items:
|
with_items:
|
||||||
- "{{user.name}}"
|
- "{{user.name}}"
|
||||||
- root
|
- name: ensure root ssh directory exist
|
||||||
|
become: true
|
||||||
|
file:
|
||||||
|
state: directory
|
||||||
|
path: "/root/.ssh"
|
||||||
|
owner: "root"
|
||||||
|
mode: 0700
|
||||||
|
|
||||||
|
- name: copy ssh config for root
|
||||||
|
become: yes
|
||||||
|
copy:
|
||||||
|
dest: /root/.ssh/ # required. Remote absolute path where the file should be copied to. If I(src) is a directory, this must be a directory too. If I(dest) is a nonexistent path and if either I(dest) ends with "/" or I(src) is a directory, I(dest) is created. If I(src) and I(dest) are files, the parent directory of I(dest) isn't created: the task fails if it doesn't already exist.
|
||||||
|
src: "ssh/config" # not required. Local path to a file to copy to the remote server; can be absolute or relative. If path is a directory, it is copied recursively. In this case, if path ends with "/", only inside contents of that directory are copied to destination. Otherwise, if it does not end with "/", the directory itself with all contents is copied. This behavior is similar to Rsync.
|
||||||
|
force: yes # not required. the default is C(yes), which will replace the remote file when contents are different than the source. If C(no), the file will only be transferred if the destination does not exist.
|
||||||
|
remote_src: no # not required. If C(no), it will search for I(src) at originating/master machine.,If C(yes) it will go to the remote/target machine for the I(src). Default is C(no).,Currently I(remote_src) does not support recursive copying.,I(remote_src) only works with C(mode=preserve) as of version 2.6.
|
||||||
|
mode: "600" # not required. Mode the file or directory should be. For those used to I(/usr/bin/chmod) remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like C(0644) or C(01777)) or quote it (like C('644') or C('1777')) so Ansible receives a string and can do its own conversion from string into number. Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results. As of version 1.8, the mode may be specified as a symbolic mode (for example, C(u+rwx) or C(u=rw,g=r,o=r)). As of version 2.3, the mode may also be the special string C(preserve). C(preserve) means that the file will be given the same permissions as the source file.
|
||||||
|
selevel: s0 # not required. Level part of the SELinux file context. This is the MLS/MCS attribute, sometimes known as the C(range). C(_default) feature works as for I(seuser).
|
||||||
|
owner: "root" # not required. Name of the user that should own the file/directory, as would be fed to I(chown).
|
||||||
|
|
||||||
|
- name: ensure key directory exist
|
||||||
|
become: true
|
||||||
|
file:
|
||||||
|
state: directory
|
||||||
|
path: "{{ item.keyfile | dirname }}"
|
||||||
|
owner: "{{item.user}}"
|
||||||
|
mode: 0700
|
||||||
|
with_items: "{{privatekeytodeploy}}"
|
||||||
|
|
||||||
- name: Install ssh private key
|
- name: Install ssh private key
|
||||||
become: yes
|
become: yes
|
||||||
@ -29,11 +55,9 @@
|
|||||||
with_items: "{{keystodeploy}}"
|
with_items: "{{keystodeploy}}"
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
- name: les connexions par mot de passe sont désactivées
|
||||||
|
|
||||||
- name : les connexions par mot de passe sont désactivées
|
|
||||||
become: yes
|
become: yes
|
||||||
lineinfile :
|
lineinfile:
|
||||||
dest: /etc/ssh/sshd_config
|
dest: /etc/ssh/sshd_config
|
||||||
regexp: "^#?PasswordAuthentication"
|
regexp: "^#?PasswordAuthentication"
|
||||||
line: "PasswordAuthentication no"
|
line: "PasswordAuthentication no"
|
||||||
|
19
templates/etc_hosts.j2
Normal file
19
templates/etc_hosts.j2
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Hosts file -- Don't edit manually!
|
||||||
|
#
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
{% if hosts_entries|length != 0 %}
|
||||||
|
|
||||||
|
# Custom entries
|
||||||
|
{% for host in hosts_entries %}
|
||||||
|
{{ host.ip }} {{ host.name }} {{ host.aliases | default('') | join(' ') }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if hosts_file_snippets %}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Hosts file snippets
|
||||||
|
#
|
||||||
|
|
||||||
|
{{ hosts_file_snippets }}
|
||||||
|
|
||||||
|
{% endif %}
|
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
hosts_file: "/etc/hosts"
|
Loading…
Reference in New Issue
Block a user