From fc803e28a1e49d0c480938c9bbbdf8b47915230c Mon Sep 17 00:00:00 2001 From: spmfox Date: Sat, 2 Sep 2023 23:12:34 -0400 Subject: initial --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 25399ad..aafc2be 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ By default it will create systemd service files and is compatible with or withou ## Usage - ```ansible-playbook host.yml``` +- ```machinectl shell containers@``` - ```ansible-galaxy install -r collections/requirements.yml``` - ```ansible-playbook containers.yml -e @docs/sample-environment/wordpress.yml``` @@ -32,3 +33,8 @@ A fully working pod with Wordpress and a MariaDB database are in the ```docs/sam - Rootless mode is being used, so tasks are written to use systemd user scope - Tasks would need to be tweaked for using the root user - ```containers``` user is automatically created during the ```host.yml``` play + +## Limitations +- Tasks were written to be run as the unprivileged user - however this is tricky in Ansible + - Because of this, I recommend using ```machinectl shell containers@``` to become user before running the ```containers.yml``` play + - Your milage may vary if you use another method of changing users -- cgit