Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import GPG key from controller to host #4

Open
alecigne opened this issue Jan 23, 2022 · 0 comments
Open

Import GPG key from controller to host #4

alecigne opened this issue Jan 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@alecigne
Copy link
Owner

In the dotfiles role:

- name: Stow configurations
  expect:
    chdir: "{{ dotfiles_dir }}"
    command: bash stow.bash
    responses:
      (?i)passphrase: "{{ gpg_passphrase }}"
  register: stow_result
  changed_when: stow_result.stdout != ""

The stow.bash script is executed and it needs my GPG key to decrypt my rclone config. It would be nice to import this GPG key on hosts. Nonetheless, the script doesn't fail and stowing is successful.

@alecigne alecigne added the enhancement New feature or request label Jan 23, 2022
@alecigne alecigne self-assigned this Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant