CafeLungo.foxpass
Installs FoxPass on a machine, with SUDOers support
Requirements
- Ansible 2.5+
- Molecule 2.18.1+
Role Variables
foxpass_base_dn: Base DN
foxpass_bind_user: Bind User
foxpass_bind_pw: Bind Password
foxpass_api_key: FoxPass API Key
foxpass_setup_SUDOers: Whether or not to setup SUDOers support (an add-on feature for FoxPass)
foxpass_root_password_hash: Root password hash for ubuntu (Required to install sudo-ldap) `mkpasswd -m sha-512`
Dependencies
None
Example Playbook
- name: servers
hosts: all
vars:
# Don't worry, the sample vars are from FoxPass docs: https://foxpass.readme.io/docs/ubuntu-1604
foxpass_base_dn: "dc=example,dc=com"
foxpass_bind_user: "linux"
foxpass_bind_pw: "efGHbD3aFq"
foxpass_api_key: "5GC3NRI5goRBAGkrlsxzYedg0r8HPAO7"
foxpass_setup_SUDOers: true
foxpass_root_password_hash: "$6$w0Z8CUwMTP.S$iGI0IqZzCnaAqD2EckxoIqtekShPilVD8KbrzMmmz8ZNJaZNgFywMtq3ArYxoL4hvAK5lLw3zUv4RxxaaKAhK."
roles:
- role: CafeLungo.foxpass
Testing and Development
- Run
molecule test
to run the playbook against supported platforms, and run tests - Run
molecule create
to create all the supported platforms for development purposes - Run
molecule converge
to run the role against the supported platforms created above - Run
docker ps
to view the running platforms, anddocker exec -it <name of instance> /bin/bash
to connect to it to check things
License
BSD