[ansible-project] apt safe-upgrade module

2014-09-26 Thread Benjamin Copeland
- name: hold openssh-client only if OS is 12.04 shell: echo "openssh-client hold" | sudo dpkg --set-selections when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'precise' - name: hold openssh-server only if OS is 12.04 shell: echo "openssh-server hold" | sudo dpkg -

Re: [ansible-project] apt safe-upgrade module

2014-09-26 Thread Benjamin Copeland
uted? > > Thanks! > > On Fri, Sep 26, 2014 at 5:57 AM, Benjamin Copeland > wrote: > >> - name: hold openssh-client only if OS is 12.04 >> shell: echo "openssh-client hold" | sudo dpkg --set-selections >> when: ansible_distribution == 'Ubuntu&

Re: [ansible-project] apt safe-upgrade module

2014-09-29 Thread Benjamin Copeland
https://help.ubuntu.com/community/PinningHowto#Apt Like that. Ben On Saturday, 27 September 2014 14:37:55 UTC+1, Michael DeHaan wrote: > > Curious how the holds got placed? > > > > On Fri, Sep 26, 2014 at 10:04 AM, Benjamin Copeland > wrote: > >> Hello Michael,

Re: [ansible-project] apt safe-upgrade module

2014-09-29 Thread Benjamin Copeland
kages. >> >> On Sat, Sep 27, 2014 at 5:37 PM, Michael DeHaan > > wrote: >> > Curious how the holds got placed? >> > >> > >> > >> > On Fri, Sep 26, 2014 at 10:04 AM, Benjamin Copeland >> > > wrote: >> >> >> >

[ansible-project] my playbooks have broke since 1.9. Sudo issues it seems

2015-03-31 Thread Benjamin Copeland
Hi all, So, since 1.9.0.1-1 my playbooks have broken. My playbook: roles: - role: common sudo: yes IOError: [Errno 13] Permission denied: '/etc/fstab' OpenSSH_6.8p1, OpenSSL 1.0.2a 19 Mar 2015 The fix: Add sudo: yes to the task: cat roles/common/tasks/main.yml --- - name: Ensure

Re: [ansible-project] my playbooks have broke since 1.9. Sudo issues it seems

2015-03-31 Thread Benjamin Copeland
Okay thanks Brain. Was a bug introduced? I am running version from Arch Linux (https://www.archlinux.org/packages/community/any/ansible/) Two options: - Role back to to 1.8.4 (sudo pacman -U /var/cache/pacman/pkg/ansible-1.8.4-1-any.pkg.tar.xz) - Or install devel. On Tuesday, 31 March 2015

Re: [ansible-project] my playbooks have broke since 1.9. Sudo issues it seems

2015-03-31 Thread Benjamin Copeland
Just FYI: Added IgnorePkg=ansible into my pacman.conf and rolled back to 1.8.4. On Tuesday, 31 March 2015 14:37:17 UTC+1, Benjamin Copeland wrote: > > Okay thanks Brain. Was a bug introduced? > > I am running version from Arch Linux ( > https://www.archlinux.org/packages/commun

Re: [ansible-project] my playbooks have broke since 1.9. Sudo issues it seems

2015-03-31 Thread Benjamin Copeland
Ah okay. Thanks. I see your commit https://github.com/bcoca/ansible/commit/662b35cbce50b43f542750451fd35d58bfa2ffd9 I will just use 1.8.4 for now, and will upgrade to 1.9.1 when its released. Thanks for all your efforts Brain, you do a great job Ben On Tuesday, 31 March 2015 14:43:46 UTC+

[ansible-project] A question about the S3 Lifecyle module

2016-10-25 Thread Benjamin Copeland
Hello All, I want to be able to use the S3 lifecycle module to have *exclude* rules? I want to be able to delete most files in a bucket, but exclude a couple of folders. I want to be able to setup lifecycle rules for every file in a bu