Comments (6)
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the component bot command.
from ansible.
The only code path I see that could plausibly result in this is
ansible/lib/ansible/modules/cron.py
Lines 327 to 328 in 8ad68f1
Does changing that line to self.module.fail_json(msg=err, stdout=out, rc=rc)
provide any useful information?
from ansible.
Unfortunately not:
fatal: [10.32.239.40]: FAILED! => changed=false
invocation:
module_args:
backup: false
cron_file: null
day: '*'
disabled: false
env: false
hour: '1'
insertafter: null
insertbefore: null
job: rm -rf /Users/my-user/tmp-*
minute: '5'
month: '*'
name: rm tmp dirs
special_time: null
state: present
user: null
weekday: '*'
msg: ''
rc: -9
stdout: ''
stdout_lines: <omitted>
I'm guessing it's crontab itself that isn't returning any useful error.
from ansible.
Having the rc is a little bit more useful than absolutely nothing though - can I make a PR?
from ansible.
Having the rc is a little bit more useful than absolutely nothing though - can I make a PR?
Sure, thanks!
from ansible.
PR opened!
from ansible.
Related Issues (20)
- If `ANSIBLE_VAULT_PASSWORD_FILE=""` it treats the current directory as the vault password file and tries to execute it HOT 8
- Add a possibility to control minimum TLS version in ansible.builtin.uri HOT 2
- add numa_nodes count to ansible facts HOT 8
- Ansible connection (ping) is stuck / hanging on debian 12 turnkey core 18.1-1 LXC (Proxmox) HOT 2
- ansible-vault integration test incorrectly testing non-writeable dir HOT 1
- apply/delegate_facts does not work with include_role nor include_tasks HOT 7
- yum disablerepo failed if repo not exist HOT 3
- openssl error : unable to get local issuer certificate HOT 2
- ansible-test validate-modules: argument spec from one module can bleed into the next one HOT 7
- variable templates are not substituted when using 'extract' filter HOT 5
- Using `import_tasks` within `include_tasks` within an `include_role` results in TypeError: NoneType HOT 3
- `rescue` handling of code `block` always called for ALL hosts if one or more fail in 2.17 (worked in 2.16) HOT 7
- fact_path deprecation warning leaves much unsaid HOT 9
- Silent mantissa truncation on FieldAttribute `int` coercion HOT 1
- Integration test suite revamp HOT 2
- to_nice_yaml corrupts multiline text with linebreaks HOT 3
- Variable seems to leak between servers when using include role HOT 4
- Ansible exits prematurely without error message using `ansible.builtin.reboot` HOT 5
- Included_tasks file isn't recognized: No file specified for included_tasks HOT 4
- I'm having an issue with "become" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible.