Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Managing Desktops with Ansible

Desktop administration is generally done manually. This is painful, especially when then are large no. of systems that are geographically distributed. This talk will show how configuration management tools, like Ansible can be used in pull mode, for desktop administration.

  • Loggen Sie sich ein, um Kommentare anzuzeigen.

  • Gehören Sie zu den Ersten, denen das gefällt!

Managing Desktops with Ansible

  1. 1. ‘El, c)‘ V, «¡LH V) ¿l y 2 li» KÜU} Q? W EW F_t1%1r íx” Lí:1 .1'* B
  2. 2. System administration, has been traditionally done manually.
  3. 3. What is my server? What packages were installed? What configuration files were changed?
  4. 4. Replicating is laborious Manual installation, configuration, troubleshooting . . . phew!
  5. 5. l’ iii 1-. ‘ ll Ï-lll g¿1!r, ,'; ¿‘í_l, il, i i-ría’ llclÍ-lÍ-lll llllíï! llllÉ-lIJlÍïllÏl! lll l)_lïiÏl_l_ iii} 1-? íÏsilïlllgelï-ÏÏ? cruïiilï-l ÏIJJ "ÏlllÍ-l ur 1-! Yibuti: :ít-ii! lp)
  6. 6. Add fuel to the flames! Virtual machines enable us to create computers, for various tashs
  7. 7. hifi/ á’ eme . v*»ïzÉ, >r c/ [Ïlifilïfjï ‘to CÏ/ ïlílfl ¡hour/ h 5/ ‘¿Í/ Pie? El/ Ï/If/ s/ cW/ ÏÍ/ ,l*¿; *ie1/ïr ¿ ’/ ‘if/ ire ÏÏÏ/ ÏÜÏÏ’ Ífiillif’ Jilïl/ Ïgifi/ l/Mg, ’ the) El —« Alirrïllrglnr lfniculn
  8. 8. Ansible can SSH to server, install packages and configure the system.
  9. 9. SYSTEM ïTltTï SFEClFlEll Ibi liljtlififliïli — hosts: devservers tasks: - apt: name= emacs state= present - apt: name= python state= present - pip: name= cryptography state= present - copy: > src= fi1es/ etc/ network/ interfaces dest= /etc/ network/ interfaces owner= root group= root mode=644
  10. 10. J n autre-ui: gvnutrv fíi-ltillï-li” : ;l: =;ii: .2 ‘El? (Ïilllï-ll furl iii In a l! C1 iiÏ-llÍlÍ-llrl/ ‘ïlltlll ! |'!1!kÏÏ_ÏÍ'lñh! f¿r; _lfiJïllfiíg ïuli/ !liÍ, i_l! -!, i' (Juli-L,
  11. 11. lrliill/ anual: ¡durable fííLiÏlgl Jürrztïiiiit-L, bull: Ti"; l ud aurora L a l llhiÏv,
  12. 12. Afilïlfilfi VS SHELL Slïfilfiïï Script to add a cronjob. crontab -1 > mycron echo "0 5 * * 15 -alh > / dev/ null" >> mycron crontab mycron rm mycron lírlhat happens ifthe script is run ‘turice? - cron: name= "check-dirs" minute= "0" hour= "5" job= "1s -alh > / dev/ null" The equivalent in ixnsible. Can be run multiple times!
  13. 13. “ Idempotence — operations that can be applied multiple times without changing the result beyond the initial application. —Wihipedia
  14. 14. The net effect? People who use shell scripts, generally end-up managing manually after the first run.
  15. 15. _lrl1utm; —;t—2 3:5 lli-teaïílilülygleïl, no ¿lt-uiïuiaitit-ul li ‘¿llllllïlllïlfïlïiïli! ll,
  16. 16. Base OS image is installed on the desktop using cloning using pendrives.
  17. 17. Ansible Pull Mode: At boot, download the playbook from central location, and invoke ansible on localhost.

×