![]() Memo/Ansible/Errorhttps://dexlab.net:443/pukiwiki/index.php?Memo/Ansible/Error |
Error/Warning †Invoking "yum" only once while using a loop via squash_actions is deprecated †ansible2.0以降の「yum:」「apt:」で「name="{{ list }}"」が指定できるようになった。 [DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying `name: {{ item }}`, please use `name: [u'firewalld']` and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
too long for Unix domain socket †macOS v10.12(Sierra)で発生。 CentOS6/7では発生せず。
Too many open filesでansibleの実行が停止する †
to_nice_yaml でエラー †
localhost対象時のエラー †
error while evaluating conditional †
The Python 2 bindings for rpm/yum ... †
WARNINGの抑制 †
- shell: "rpm -q {{ rpm_name }}" args: warn: false Encountered unknown tag †j2テンプレート中で「{% ... %}」を含む文字列を出力したい場合。 {% raw %} ... {% endraw %} Syntax errors in policy. †
"{{ lookup('template', '/path/to/template.json.j2') | string }}"
The security token included in the request is invalid †
pip list ... ansible (2.5.0) boto (2.48.0) boto3 (1.6.17)
group_by: ERROR! Unexpected Exception, this is probably a bug: 'localhost' †
-- group_by: key="{{ inventory_group }}"
tasks: - name: add hosts to localhost group add_host: name: "127.0.0.1" groups: "localhost" when statements should not include jinja2 templating delimiters †
[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ansible_devices.{{ item.src | basename}} is defined
when: ansible_devices.{{ item.src | basename }} is defined
when: ansible_devices[ item.src | basename ] is defined could not locate file in lookup: ~/.ssh/id_rsa.pub †
ssh-keygen -N "" -t rsa to use the 'ssh' connection type with passwords, you must install the sshpass program †
|
|