It at least tried to run this time, but failed on the first real task (users.yml)

This commit is contained in:
Hyperling 2020-12-31 18:13:15 -06:00
parent 199dec88da
commit f7aa0ccf89
2 changed files with 11 additions and 3 deletions

View File

@ -1,7 +1,7 @@
---
# Define what the file and folder names should be on each OS.
- name: Set Pop!_OS Package Names
- name: Set Pop!_OS FS Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /home/ling/lynis.log
@ -9,7 +9,7 @@
# TODO Needs tested
- name: Set Ubuntu Package Names
- name: Set Ubuntu FS Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log
@ -17,7 +17,7 @@
# TODO Needs tested
- name: Set FreeBSD Package Names
- name: Set FreeBSD FS Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log

View File

@ -1,3 +1,11 @@
# TODO This does not work in FreeBSD yet.
#TASK [Create Ansible User] *****************************************************
#fatal: [freeboy]: FAILED! => {"changed": false, "msg": "pw: the password db file is busy\n", "name": "hyper", "rc": 1}
#changed: [localhost]
#
#TASK [Add Ansible Sudoers File] ************************************************
#fatal: [localhost]: FAILED! => {"changed": false, "checksum": "154cc146010b36e25502dfe9a7f6b09fec8bbf43", "msg": "Destination directory /etc/sudoers.d does not exist"}
- name: Create Ansible User
user:
name: hyper