Created
August 9, 2020 21:57
-
-
Save cjac/ce48aa4fcae623a7d8d6f3eed6e5985f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cjac@sh0:~/ansible$ cat apt-upgrade.yml | |
- apt: name=* upgrade=dist update_cache=True | |
cjac@sh0:~/ansible$ ansible-playbook apt-upgrade.yml | |
ERROR! 'apt' is not a valid attribute for a Play | |
The error appears to be in '/home/cjac/ansible/apt-upgrade.yml': line 1, column 3, but may | |
be elsewhere in the file depending on the exact syntax problem. | |
The offending line appears to be: | |
- apt: name=* upgrade=dist update_cache=True | |
^ here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment