Good morning
-
instead of playing video games I did really boring sysadmin stuff
( set up backups for Ten Forward's media bucket to our new rsyncnet offsite storate using rclone )
got stuck in AWS IAM hell for a bit because I got the IP constraint wrong (needed to include the proper subnet rsync.net is using in that location instead of just one IP)
but now we are good and the first rclone sync is running
-
and now I need tea and snacks before I write YAML (Ansible playbook)
-
I would say writing YAML and Ansible playbooks is a kind of self care but I don't think I'm that kind of sicko (complimentary)
-
speaking of boring (complimentary) things, couple episodes of the History of Philosophy podcast in the queue
will listen to them
-
TASK [install-angie : Create required configuration directories]
changed: [hathor.bastetrix.net] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "['/etc/angie/']", "size": 4096, "state": "directory", "uid": 0}TASK [install-angie : Copy our default angie.conf] **************
fatal: [hathor.bastetrix.net]: FAILED! => {"changed": false, "checksum": "a237636daf9b6ca7ea6cef260e7bba8f52d2c927", "msg": "Destination directory /etc/angie does not exist"}hey Ansible, what the fuck is going on here? why are you not creating the directory?
-
- name: Create required configuration directories
ansible.builtin.file:
path: "{{ angie_config_directories }}"
state: directory
vars:
angie_config_directories:
- /etc/angie/ -
I'm about to fucking just shell `mkdir` instead because of this nonsense, its always some BS like this with Ansible
-
- name: Create required configuration directories
ansible.builtin.shell:
cmd: mkdir -p {{ angie_config_directories | quote }}
vars:
angie_config_directories:
- /etc/angie/modules-enabled
- /etc/angie/conf.d
- /etc/angie/sites-enabled
- /etc/angie/sites-availableguess what? that worked
-
used a loop instead with the file module and that worked
the install-angie role is done, the next thing on the to-do list is the configuration templating and copy role
that's for another day, I'm pretty low energy now and its almost dinner time
-
completed the three questionnaires the clinic sent me and sent the ones the "observer" needs to complete to my sister.
-
and now wind down and sleep time
gn
-
@packetcat sleep as well as you can
-
Random Geekreplied to Random Geek last edited by [email protected]
@packetcat (and scrolling back I see you have identified one of John Richards's enduring charms as a DJ: as cringe as he may seem on other days, he is sure as heck reassuring on the bad ones)