mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-15 14:05:13 +00:00
This module allows you to set host facts (or export play variables to the playbook scope if you fancy that).
The module also accepts complex arguments.
```yaml
- action: set_fact fact="something" global_fact="${local_var}"'
- action: set_fact
args:
fact: something
global_fact: ${local_var}
```
|
||
|---|---|---|
| .. | ||
| ansible | ||