Hi there,

is there any way to run a local_action task only once?
I tried the following but it doesn't work:

- name: gather public keys to be installed
  local_action: shell cat public-keys/*.pub
  run_once: true
  changed_when: False
  sudo: False
  register: keys

Is this possible at all?

Cheers
Luka

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/301c13f9-2eea-46c7-b545-c5281970b462%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to