Migrate set_fact to FQCN.
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
# Install the AUR on pacman-related distros.
|
||||
|
||||
- name: General | Software | AUR | Facts 01
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
aur_user: aurbuilder
|
||||
aur_build_dir: "{{ global_src }}"
|
||||
aur_helper: yay
|
||||
aur_helper_url: https://aur.archlinux.org/yay-bin.git
|
||||
|
||||
- name: General | Software | AUR | Facts 02
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
aur_helper_dir: "{{ aur_build_dir }}/{{ aur_helper }}"
|
||||
aur_sudoers: "/etc/sudoers.d/sudoers_{{ aur_user }}"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Install Metasploit Framework
|
||||
|
||||
- name: General | Software | Metasploit | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
metasploit_installer: msfinstall
|
||||
when: ansible_system in ("Linux", "Darwin")
|
||||
and pentesting
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
###
|
||||
|
||||
- name: Nix Variables
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
nix_exe: ~/.deleteme.nix.sh
|
||||
|
||||
- name: Install Nix
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
# This is also done in setup.sh if ansible is not found.
|
||||
|
||||
- name: General | Software | NixOS | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
nixos_working_dir: ~/nixos-config-deleteme
|
||||
nixos_working_exe: activate.sh
|
||||
|
||||
- name: General | Software | NixOS | Facts [Swap]
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
nixos_swap: "swapDevices = [ { device = \"{{ swap_file }}\";} ];"
|
||||
when: swap_block != false
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Preferably only on servers that don't already have postfix?
|
||||
|
||||
- name: Server | Sendmail | Variables
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
sendmail: sendmail
|
||||
sendmail_queue: sendmail_msp_queue
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# Variables #
|
||||
|
||||
- name: General | Telegraf | Variables 1/4
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
telegraf_tar: telegraf-1.20.3_linux_amd64.tar.gz
|
||||
telegraf_path: /usr/local/bin
|
||||
telegraf_config_path: /usr/local/etc
|
||||
@@ -13,25 +13,25 @@
|
||||
telegraf_log: "{{ user_ansible.home }}/telegraf.log"
|
||||
|
||||
- name: General | Telegraf | Variables 2/4
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
telegraf_exec: "{{ telegraf_path }}/telegraf"
|
||||
telegraf_config: "{{ telegraf_config_path }}/telegraf.conf"
|
||||
|
||||
- name: General | Telegraf | Variables 3/4
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
telegraf_cmd: "{{ telegraf_exec }} --config {{ telegraf_config }} >> {{ telegraf_log }} 2>&1"
|
||||
|
||||
- name: General | Telegraf | Variables 4/4
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
telegraf_watcher: "killall telegraf; {{ telegraf_cmd }}"
|
||||
|
||||
- name: General | Telegraf | Variables | Linux
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
telegraf_input_temp: "[[inputs.temp]]"
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
- name: General | Telegraf | Variables | FreeBSD
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
telegraf_input_temp: ""
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user