Created
August 9, 2020 23:13
-
-
Save cjac/e78607bf79270302bedfb35e85ceee52 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 ; ansible-playbook apt-upgrade.yml | |
--- | |
- hosts: all | |
tasks: | |
- apt: | |
name: * | |
upgrade: dist | |
update_cache: True | |
ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each: | |
JSON: Expecting value: line 1 column 1 (char 0) | |
Syntax Error while loading YAML. | |
did not find expected alphabetic or numeric character | |
The error appears to be in '/home/cjac/ansible/apt-upgrade.yml': line 5, column 14, but may | |
be elsewhere in the file depending on the exact syntax problem. | |
The offending line appears to be: | |
- apt: | |
name: * | |
^ here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment