Skip to content

Instantly share code, notes, and snippets.

@ssplatt
Created May 25, 2016 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssplatt/21fc7f0bdfeb70ab4a462fe655739ccb to your computer and use it in GitHub Desktop.
Save ssplatt/21fc7f0bdfeb70ab4a462fe655739ccb to your computer and use it in GitHub Desktop.
check_for_minion_to_autoaccept:
local.file.line:
- name: /etc/salt/autoaccept.conf
- content: {{ data.id }}
- mode: delete
- require_in:
- wheel: minion_auto_add
minion_auto_add:
wheel.key.accept:
- match: {{ data.id }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment