Refactor user management in Ansible playbooks to standardize on keeper_user
- Updated user addition tasks across multiple playbooks (mcp_switchboard, mcpo, neo4j, neo4j_mcp, openwebui, postgresql, rabbitmq, searxng, smtp4dev) to replace references to ansible_user and remote_user with keeper_user. - Modified PostgreSQL deployment to create directories and manage files under keeper_user's home. - Enhanced documentation to clarify account taxonomy and usage of keeper_user in playbooks. - Introduced new deployment for Agent S, including environment setup, desktop environment installation, XRDP configuration, and accessibility support. - Added staging playbook for preparing release tarballs from local repositories. - Created templates for XRDP configuration and environment activation scripts. - Removed obsolete sunwait documentation.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
---
|
||||
- name: Deploy MCPO as a system service
|
||||
hosts: mcpo
|
||||
vars:
|
||||
ansible_common_remote_group: ponos
|
||||
handlers:
|
||||
- name: restart mcpo
|
||||
become: true
|
||||
@@ -24,10 +22,10 @@
|
||||
comment: "{{mcpo_user}}"
|
||||
system: true
|
||||
|
||||
- name: Add remote_user to mcpo group
|
||||
- name: Add keeper_user to mcpo group
|
||||
become: true
|
||||
ansible.builtin.user:
|
||||
name: "{{remote_user}}"
|
||||
name: "{{keeper_user}}"
|
||||
groups: "{{mcpo_group}}"
|
||||
append: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user