Just a guess, but since both users are pointing at the same home dir, but have different UID/GIDs, is it possible that ansible is chowning '/home/sftp' ? Although if that were the case, I'd expect both the tasks in subsequent runs to report as 'changed'...
On Wed, May 28, 2014 at 9:56 AM, Brian Dunbar <[email protected]>wrote: > I'm running the playbook against the same host, 'sftp' each time. > > 'aws-stage-sftp' is Ubuntu 12.04.4 LTS > > # inventory.yml > (snip) > aws-stage-sftp ansible_ssh_host=11.11.11.11 > (snip) > [sftp] > aws-stage-sftp > > On Wednesday, May 28, 2014 10:49:22 AM UTC-5, Michael DeHaan wrote: > >> How are the systems different? >> >> >> >> On Wed, May 28, 2014 at 9:57 AM, Brian Dunbar <[email protected]>wrote: >> >>> I have a playbook, the task consistently flags one user as 'ok' and one >>> user as 'changed'. >>> >>> See this gist: https://gist.github.com/bdunbar/ec35fb02d4147ad1f5b5 >>> >>> Why is this? Clearly the user already exists, so it _should_ be 'ok' >>> and not 'changed'. >>> >>> I'm doing something wrong, and I'd like to know what that is. >>> >>> Thanks! >>> >>> ~brian >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ansible Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/ansible-project/f587b428-7d88-4e91-bec6- >>> 35751067ae4d%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/f587b428-7d88-4e91-bec6-35751067ae4d%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/616ca0e4-4433-4d02-a1b6-39a5e3e12f1c%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/616ca0e4-4433-4d02-a1b6-39a5e3e12f1c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAPcsqxnzwycL3CCrQk2RchGr48Nw5daVvDvYAxaQKEtH4ZoAZw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
