[Buildbot] #3162: keep /etc and /usr/local/etc under local git repository control

Buildbot trac trac at buildbot.net
Sun Jan 25 21:16:08 UTC 2015


#3162: keep /etc and /usr/local/etc under local git repository control
-------------------+--------------------------
Reporter:  dustin  |       Owner:  dustin
    Type:  task    |      Status:  assigned
Priority:  major   |   Milestone:  sys - other
 Version:  0.8.10  |  Resolution:
Keywords:          |
-------------------+--------------------------

Comment (by dustin):

 Hm, I can't reproduce:
 {{{
 (sandbox)dustin at ramanujan ~/code/buildbot/t/infra [master] $ ./bootstrap
 172.17.1.2
 Vault password:

 PLAY [prepare temporary group]
 ************************************************

 TASK: [create temporary group for the target host]
 ****************************
 ok: [localhost]

 PLAY [all]
 ********************************************************************

 TASK: [load secrets from "secrets.yml"]
 ***************************************
 ok: [localhost]
 ok: [172.17.1.2]

 PLAY [bootstrap remote server]
 ************************************************

 TASK: [install ansible]
 *******************************************************
 ok: [172.17.1.2]

 TASK: [prepare bootstrap script]
 **********************************************
 changed: [172.17.1.2]

 TASK: [execute bootstrap script]
 **********************************************
 changed: [172.17.1.2]

 TASK: [remove bootstrap script]
 ***********************************************
 changed: [172.17.1.2]

 PLAY RECAP
 ********************************************************************
 172.17.1.2                 : ok=5    changed=3    unreachable=0
 failed=0
 localhost                  : ok=2    changed=0    unreachable=0
 failed=0

 }}}

 This is on a host that doesn't match any of the host specifications, but
 still -- if I run the run-once script by hand, I can see it running the
 track-changes bits:
 {{{
 root at freebsd:~/repo # ansible-playbook --vault-password-file=~/.vault-
 password local.yml

 PLAY [all]
 ********************************************************************

 TASK: [load secrets from "secrets.yml"]
 ***************************************
 ok: [localhost]

 PLAY [determine local host name]
 **********************************************

 GATHERING FACTS
 ***************************************************************
 ok: [localhost]

 TASK: [group_by ]
 *************************************************************
 ok: [localhost]

 PLAY [track configuration locally]
 ********************************************

 TASK: [install track-config.sh]
 ***********************************************
 ok: [localhost]

 TASK: [track configuration]
 ***************************************************
 ok: [localhost] => (item=/etc)
 ok: [localhost] => (item=/usr/local/etc)
 ok: [localhost] => (item=/usr/local/mailman/configs)

 ...
 }}}
 and `/etc/.git` exists..

--
Ticket URL: <http://trac.buildbot.net/ticket/3162#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list