๊ฐ•์˜

๋ฉ˜ํ† ๋ง

๋กœ๋“œ๋งต

BEST
Programming

/

Devops & Infra

Configuration Management Automation Tool - Ansible

Let's learn how to automate various environments (Linux๐Ÿง, Windows๐Ÿ“ฑ, and network๐Ÿ“ถ systems) through ensembles. ๐Ÿฅ‡ Through this, we can manage various systems by unifying them into ensembles. And we will learn how to enhance๐Ÿง‘โ€๐Ÿ”ง the ensemble code we have written. In other words, we will learn how to write code to run more effectively๐Ÿƒ faster.

(4.8) 48 reviews

762 learners

Level Intermediate

Course period Unlimited

  • kubernetes
Ansible
Ansible
Ansible
Ansible

[Practice] Excluding Korean names from Git Repo subdirectories

hello

For Mac users and some other users, if the directory path contains Korean characters, as shown below:

I found that there is an encoding issue.

โฏย vagrant up

Traceback (most recent call last):

29: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/bin/vagrant:168:in `

'

28: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/bin/vagrant:168:in `new'

27: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:178:in `initialize'

26: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:983:in `process_configured_plugins'

25: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:956:in `find_configured_plugins'

24: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:956:in `each'

23: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:958:in `block in find_configured_plugins'

22: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/vagrantfile.rb:237:in `machine_config'

21: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/vagrantfile.rb:201:in `block in machine_config'

20: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:280:in `find'

19: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:456:in `with_collection_lock'

18: from /opt/vagrant/embedded/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'

17: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:457:in `block in with_collection_lock'

16: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:304:in `block in find'

15: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:304:in `each'

14: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:311:in `block (2 levels) in find'

13: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:311:in `each'

12: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:321:in `block (3 levels) in find'

11: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/box_collection.rb:321:in `call'

10: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:525:in `hook'

9: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:34:in `run'

8: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:205:in `block in action_runner'

7: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:542:in `host'

6: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:542:in `new'

5: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/host.rb:13:in `initialize'

4: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/capability_host.rb:36:in `initialize_capabilities!'

3: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/capability_host.rb:117:in `autodetect_capability_host'

2: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/capability_host.rb:117:in `inspect'

1: from /opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:193:in `inspect'

/opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:193:in `encode': "\xEB" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII ( Encoding::UndefinedConversionError )

So I decided to remove all Korean from Repo within this week.

So the names will probably change to something like...ch1(chapter) > 1.1(subdirectory).

Please refer to this for practice :) The repo name will remain the same.

thank you

Cho Hoon Dream.

Comment