Category: Configuration management

Ansible Tutorial – Directory layout and Example

Ansible เป็น configuration management ที่เป็น agentless ซึ่งไม่ต้อง require agent เหมือนพวก puppet, Chef, Salt การทำงานของ ansible จะทำงานผ่าน SSH ดังนั้นแค่เครื่องสามารถ remote ด้วย SSH ได้ก็ทำงานได้ Ansible เขียนเป็นไฟล์ YAML เดียวก็สามารถทำงานได้แล้ว แต่ถ้าหากมีขั้นตอนการทำงานที่เยอะจะทำให้ยุ่งยากในการแก้ไข และนำกลับมาใช้ใหม่ ดังนั้นในบทความนี้ผมจะมาอธิบาย directory…

How to fix “SSL_connect … certificate verify failed” on puppet client

เมื่อทำการติดตั้ง puppet client เสร็จเรียบร้อยแล้ว และใช้คำสั่ง # puppet agent --test เพื่อทำการ connect ไปยัง puppet master แล้วพบ error ดังนี้ err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read…