name: iptables-services
state: latest
ансибл пишет
ok: [host] => {
"changed": false,
"invocation": {
"module_args": {
"allow_downgrade": false,
"allowerasing": false,
"autoremove": false,
"bugfix": false,
"cacheonly": false,
"conf_file": null,
"disable_excludes": null,
"disable_gpg_check": false,
"disable_plugin": [],
"disablerepo": [],
"download_dir": null,
"download_only": false,
"enable_plugin": [],
"enablerepo": [],
"exclude": [],
"install_repoquery": true,
"install_weak_deps": true,
"installroot": "/",
"list": null,
"lock_timeout": 30,
"name": [
"iptables-services"
],
"nobest": false,
"releasever": null,
"security": false,
"skip_broken": false,
"state": "latest",
"update_cache": true,
"update_only": false,
"validate_certs": true
}
},
"msg": "Nothing to do",
"rc": 0,
"results": []
}
но по факту такого сервиса нет, почему?
Можешь попробывать зайти на хост и systemctl status | grep iptables
Обсуждают сегодня