Coder Social home page Coder Social logo

Comments (2)

tompscanlan avatar tompscanlan commented on July 17, 2024

@richardboswell

  1. the doc says to run site.yml, which calls base.yml in turn. Does that not cover your needs?
  2. if not, lets consider making a new top level play just for key rotation. Having it as part of the ui setup is a tad misleading.
  3. definitely need to add the private key into all ansible.cfg that may use the sshkeys role.
  4. if a different location for the keyfile is desired... we may be better off using the a group_vars/all.yml var for ansible_ssh_private_key_file and setting sshkeys_local_final_priv_key: {{ ansible_ssh_private_key_file }}.

from chaperone.

richardboswell avatar richardboswell commented on July 17, 2024

The site.yml task file has a comment that states:

Before running this play, assure you ran: ansible-playbook --ask-pass --ask-sudo-pass -i inventory base.yml

Is that inaccurate? I have always run the ansible.yml playbook and the base.yml and ui.yml playbooks for the initial setup and haven't had any issues. I believe that site.yml is only required if you want Chaperone to also act as a router, @tdhite will know (I don't configure the CDS as a router).

In any case we need to properly document the change in the Ansible SSH private key, the ansible.cfg file also needs to be added to the git ignore file. This was not required in previous versions of the sshkeys role as it was assumed (and documented as such) that the standard id_rsa naming format would be used.

from chaperone.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.