diff --git a/README.md b/README.md index 3246954..754507f 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,15 @@ Users needs to be sudoers. ###### a. localhost run +I will use a trick here to let ansible think that i use 2 hosts. +It will configure *root* with *cli* and *user* with *desktop* environment. +That trick needs ``-K`` without ``-b`` when running playbook. + ``` +[cli] +cli_user ansible_connection=local ansible_user=root [desktop] -localhost ansible_connection=local ansible_user=user +desktop ansible_connection=local ansible_user=user ``` ###### b. multiple hosts run @@ -94,7 +100,7 @@ ansible-playbook install.yml ``` To configure cli tools for root on desktop hosts ``` -ansible-playbook install.yml -b -K +ansible-playbook install.yml -b -K -l desktop ``` ----- diff --git a/TODO b/TODO index 7d34671..8e10cec 100644 --- a/TODO +++ b/TODO @@ -27,7 +27,6 @@ # IMPROVMENTS * try a GTK theme with some transparency -- how to configure a user and root for desktop in one run ? - readd terminfo role - change theme in config file : dynamic waybar colors