This role set's permissions to SSH_AUTH_SOCK file and folder to a given user.
This role is designed to work with merge "hash_behaviour". Make sure your ansible.cfg contains these settings
[defaults]
hash_behaviour = merge
pipelining = true
sudo_flags=-HEThis role has no dependencies
This role uses two tags: build and configure
build- Installs ACLconfigure- configures access to ssh auth socket file.
To simply add swap to your server:
- name: SSH Auth
hosts: sandbox
pre_tasks:
- name: Update apt
become: yes
command: apt-get update
tags:
- build
roles:
- role: ansible-city.ssh_auth_sock
ssh_auth_sock:
user: my_user